improved error handling code
This commit is contained in:
parent
72b52d9a27
commit
f920a11ae9
@ -296,7 +296,7 @@ class ManiaControl implements CommandListener, TimerListener {
|
||||
// Close the client connection
|
||||
$this->client->delete($this->server->ip, $this->server->port);
|
||||
} catch (TransportException $e) {
|
||||
$this->errorHandler->triggerDebugNotice($e->getMessage() . " File: " . $e->getFile() . " Line: " . $e->getLine());
|
||||
$this->errorHandler->handleException($e, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user