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:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-20 19:01:47 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-20 19:01:47 +0300
commit6a6fc742dc736875a9d0a2be6891ba0fc635f1dc (patch)
tree2f559b670be9f312e14e58de8879189ecccef01f /cron.php
parent069af51dd039fe9790b420b0e74289309a4952c4 (diff)
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);
}