code improvement
This commit is contained in:
		| @@ -419,7 +419,7 @@ class ManiaControl implements CommandListener, TimerListener { | |||||||
| 		} catch (Exception $e) { | 		} catch (Exception $e) { | ||||||
| 			// TODO remove | 			// TODO remove | ||||||
| 			if ($this->errorHandler) { | 			if ($this->errorHandler) { | ||||||
| 				$this->errorHandler->triggerDebugNotice("Fatal Exception: " . $e->getMessage() . " Trace: " . $e->getTraceAsString()); | 				$this->errorHandler->handleException($e, false); | ||||||
| 			} | 			} | ||||||
| 			$this->quit($e->getMessage()); | 			$this->quit($e->getMessage()); | ||||||
| 		} | 		} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user