Browse Source

more detail in error message

pull/21/head
KodeStar 7 years ago
parent
commit
e0d08c60d0
  1. 2
      app/SupportedApps/Nzbget.php

2
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;
}
}

Loading…
Cancel
Save