don't restart in dev mode
This commit is contained in:
parent
d531d97366
commit
e402dcdd87
@ -479,7 +479,7 @@ class ErrorHandler {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private function shouldRestart() {
|
private function shouldRestart() {
|
||||||
if (!$this->maniaControl || !$this->maniaControl->settingManager) {
|
if (!$this->maniaControl || !$this->maniaControl->settingManager || DEV_MODE) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$setting = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_RESTART_ON_EXCEPTION, true);
|
$setting = $this->maniaControl->settingManager->getSettingValue($this, self::SETTING_RESTART_ON_EXCEPTION, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user