except improvement

This commit is contained in:
kremsy 2014-02-14 14:10:46 +01:00 committed by Steffen Schröder
parent de85bde9e3
commit c8cd4c0c38

View File

@ -304,7 +304,7 @@ class ManiaControl implements CommandListener {
$this->callbackManager->manageCallbacks();
} catch(Exception $e) {
if ($e->getMessage() == 'Connection interupted') {
if ($e->getMessage() == 'Connection interupted' || $e->getMessage() == 'transport error - connection interrupted!') {
$this->quit($e->getMessage());
return;
}