From 0f713ee2784cefd6e3820db2835c8aa1a4b65d0e Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Thu, 19 Aug 2021 15:14:06 +0200 Subject: [PATCH] Output exception in cron Signed-off-by: Louis Chemineau --- cron.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron.php b/cron.php index b8202dd9a88e2..9f456ad048356 100644 --- a/cron.php +++ b/cron.php @@ -158,6 +158,8 @@ 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; }