mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #28517 from nextcloud/backport/28512/sable21
[stable21] Output exception in cron
This commit is contained in:
commit
ed5472d3aa
1 changed files with 2 additions and 0 deletions
2
cron.php
2
cron.php
|
|
@ -159,6 +159,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