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; }