From 26084a19fac1f3cf7f740dfbe1947108d1b02d3f Mon Sep 17 00:00:00 2001 From: "Andreas Burchert (scarya)" Date: Thu, 21 Oct 2010 08:59:46 +0000 Subject: [PATCH] - replaced die() with throw new Exception() --- lib/classes/sshtransport/class.FroxlorSshTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/sshtransport/class.FroxlorSshTransport.php b/lib/classes/sshtransport/class.FroxlorSshTransport.php index 61f84110..6d8c3829 100644 --- a/lib/classes/sshtransport/class.FroxlorSshTransport.php +++ b/lib/classes/sshtransport/class.FroxlorSshTransport.php @@ -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()); } } }