mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-27 18:49:47 +09:00
changed error message
This commit is contained in:
@@ -29,6 +29,9 @@ class Nzbget implements Contracts\Applications, Contracts\Livestats {
|
|||||||
case 401:
|
case 401:
|
||||||
echo 'Failed: Invalid credentials';
|
echo 'Failed: Invalid credentials';
|
||||||
break;
|
break;
|
||||||
|
case 404:
|
||||||
|
echo 'Failed: Please make sure your URL is correct and that there is a trailing slash';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
echo 'Something went wrong... Code: '.$res->getStatusCode();
|
echo 'Something went wrong... Code: '.$res->getStatusCode();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user