don't restart in dev mode

This commit is contained in:
Steffen Schröder 2014-07-25 14:56:14 +02:00
parent d531d97366
commit e402dcdd87

View File

@ -479,7 +479,7 @@ class ErrorHandler {
* @return bool
*/
private function shouldRestart() {
if (!$this->maniaControl || !$this->maniaControl->settingManager) {
if (!$this->maniaControl || !$this->maniaControl->settingManager || DEV_MODE) {
return false;
}
$setting = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_RESTART_ON_EXCEPTION, true);