mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
3dc7fd27f1
commit
6afab63e09
1 changed files with 2 additions and 0 deletions
2
cron.php
2
cron.php
|
|
@ -159,8 +159,10 @@ try {
|
|||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue