Browse Source

Error management

pull/271/head
alxlaxv 7 years ago
committed by GitHub
parent
commit
3271b382b6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      app/SupportedApps/Sonarr.php

9
app/SupportedApps/Sonarr.php

@ -25,7 +25,14 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats {
} }
else if(isset($status->error)) else if(isset($status->error))
{ {
echo 'Error: '. $status->error; if($status->error == "Unauthorized")
{
echo 'Incorrect API Key. You can find it in Settings > General';
}
else
{
echo 'Error: '. $status->error;
}
} }
else else
{ {

Loading…
Cancel
Save