summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-20 18:01:47 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-20 18:01:47 +0200
commit6a6fc742dc736875a9d0a2be6891ba0fc635f1dc (patch)
tree2f559b670be9f312e14e58de8879189ecccef01f /cron.php
parent069af51dd039fe9790b420b0e74289309a4952c4 (diff)
downloadnextcloud-server-6a6fc742dc736875a9d0a2be6891ba0fc635f1dc.tar.gz
nextcloud-server-6a6fc742dc736875a9d0a2be6891ba0fc635f1dc.zip
Catch class Error on all root entrypoints
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 73f233e1350..f0dde4fea7f 100644
--- a/cron.php
+++ b/cron.php
@@ -175,4 +175,6 @@ try {
} catch (Exception $ex) {
\OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
+} catch (Error $ex) {
+ \OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
}