mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
f7d5bb5cb1
commit
2dc669c2ae
1 changed files with 2 additions and 0 deletions
2
cron.php
2
cron.php
|
|
@ -158,6 +158,8 @@ try {
|
|||
exit();
|
||||
} catch (Exception $ex) {
|
||||
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
|
||||
echo $ex . PHP_EOL;
|
||||
} catch (Error $ex) {
|
||||
\OC::$server->getLogger()->logException($ex, ['app' => 'cron']);
|
||||
echo $ex . PHP_EOL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue