more detail in error message
This commit is contained in:
parent
33394c2f07
commit
e0d08c60d0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue