fixed exception

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:38 +02:00
1 parent a0c1e4e70d
commit c82f14b07c
2 files changed
+5 -2

No files matched your search

+1
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);
}