don't report exception chat messages

This commit is contained in:
Steffen Schröder 2014-05-19 00:03:36 +02:00
parent fedf1710a2
commit 55cc74ec84

View File

@ -152,7 +152,6 @@ class Chat {
*/ */
public function sendException(\Exception $exception, $login = null) { public function sendException(\Exception $exception, $login = null) {
$message = "Exception occurred: '{$exception->getMessage()}' ({$exception->getCode()})"; $message = "Exception occurred: '{$exception->getMessage()}' ({$exception->getCode()})";
$this->maniaControl->errorHandler->triggerDebugNotice($message);
return $this->sendError($message, $login); return $this->sendError($message, $login);
} }