Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-08-19 16:14:06 +0300
committerLouis Chemineau <louis@chmn.me>2021-08-19 16:31:12 +0300
commit0f713ee2784cefd6e3820db2835c8aa1a4b65d0e (patch)
tree119e9a3e6b0ea83d10f6f807498a00b040b12b05 /cron.php
parent23055197571590e690d15f1d0dd3bd6ee3cf606e (diff)
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 b8202dd9a88..9f456ad0483 100644
--- a/cron.php
+++ b/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;
}