fixed exception
This commit is contained in:
committed by
Steffen Schröder
parent
a0c1e4e70d
commit
c82f14b07c
@ -137,6 +137,7 @@ class Chat {
|
||||
*/
|
||||
public function sendException(\Exception $exception, $login = null) {
|
||||
$message = "Exception occured: '{$exception->getMessage()}' ({$exception->getCode()})";
|
||||
$this->maniaControl->errorHandler->triggerDebugNotice($message);
|
||||
$this->sendError($message, $login);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user