improved error handling code

This commit is contained in:
Steffen Schröder 2014-05-07 17:46:19 +02:00
parent 72b52d9a27
commit f920a11ae9

View File

@ -296,7 +296,7 @@ class ManiaControl implements CommandListener, TimerListener {
// Close the client connection // Close the client connection
$this->client->delete($this->server->ip, $this->server->port); $this->client->delete($this->server->ip, $this->server->port);
} catch (TransportException $e) { } catch (TransportException $e) {
$this->errorHandler->triggerDebugNotice($e->getMessage() . " File: " . $e->getFile() . " Line: " . $e->getLine()); $this->errorHandler->handleException($e, false);
} }
} }