Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Output exception in cron
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Aug 19, 2021
commit 6afab63e0978db2151a95ecfb691c058dbed6bb0
2 changes: 2 additions & 0 deletions cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@
exit();
} catch (Exception $ex) {
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
echo $ex . PHP_EOL;
exit(1);
} catch (Error $ex) {
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
echo $ex . PHP_EOL;
exit(1);
}