code improvement

This commit is contained in:
Steffen Schröder 2014-05-04 00:02:28 +02:00
parent 0c819ce658
commit de8905c475

View File

@ -419,7 +419,7 @@ class ManiaControl implements CommandListener, TimerListener {
} catch (Exception $e) {
// TODO remove
if ($this->errorHandler) {
$this->errorHandler->triggerDebugNotice("Fatal Exception: " . $e->getMessage() . " Trace: " . $e->getTraceAsString());
$this->errorHandler->handleException($e, false);
}
$this->quit($e->getMessage());
}