- replaced die() with throw new Exception()

This commit is contained in:
Andreas Burchert (scarya)
2010-10-21 08:59:46 +00:00
parent 84637d82d4
commit 26084a19fa

View File

@@ -305,7 +305,7 @@ class FroxlorSshTransport
try{
self::$_instance->_connect();
} catch (Exception $e) {
die("Connection lost and could not re-established! \n".$reason."\n".$message."\n".$language."\n".$e->getMessage());
throw new Exception("Connection lost and could not re-established! \n".$reason."\n".$message."\n".$language."\n".$e->getMessage());
}
}
}