fixed exception

This commit is contained in:
kremsy
2014-04-14 19:04:02 +02:00
committed by Steffen Schröder
parent a0c1e4e70d
commit c82f14b07c
2 changed files with 5 additions and 2 deletions

View File

@ -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);
}