From 7b04ec4317f88f927ce2ddeb0317f5ec6d9c56d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Tue, 27 May 2014 08:56:46 +0200 Subject: [PATCH] improved shutdown on error --- application/core/ErrorHandler.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index dd4b0c02..2a202017 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -269,8 +269,7 @@ class ErrorHandler { } } if ($this->shouldStopExecution($errorNumber)) { - logMessage('Stopping Execution...'); - exit(); + $this->maniaControl->quit('Stopping Execution...'); } return false; }