From e0d08c60d0cd49d867d24b539ced74f4dce05838 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Thu, 8 Feb 2018 19:24:30 +0000 Subject: [PATCH] more detail in error message --- app/SupportedApps/Nzbget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/SupportedApps/Nzbget.php b/app/SupportedApps/Nzbget.php index 8e4b33bc..346a5ed2 100644 --- a/app/SupportedApps/Nzbget.php +++ b/app/SupportedApps/Nzbget.php @@ -30,7 +30,7 @@ class Nzbget implements Contracts\Applications, Contracts\Livestats { echo 'Failed: Invalid credentials'; break; default: - throw new MyException("Invalid response from api..."); + echo 'Something went wrong... Code: '.$res->getStatusCode(); break; } }