don't restart in dev mode
This commit is contained in:
1 parent
d531d97366
commit
e402dcdd87
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user