summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-08-19 15:15:11 +0200
committerLouis Chemineau <louis@chmn.me>2021-08-19 15:31:29 +0200
commit4940787c1c5355eb5d3e6efdfa14958847150621 (patch)
tree446c8ae66901910b28a6fcfb9e7413ef944a2e05 /cron.php
parenta53e2809b4672b19fffd6a661691e8a13b1e2af6 (diff)
downloadnextcloud-server-4940787c1c5355eb5d3e6efdfa14958847150621.tar.gz
nextcloud-server-4940787c1c5355eb5d3e6efdfa14958847150621.zip
Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/cron.php b/cron.php
index ffce18b98d0..96923a6e669 100644
--- a/cron.php
+++ b/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;
}