mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 20:20:34 +09:00
more detail in error message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user