fix: 🐛 changed error log to be more generic
This commit is contained in:
parent
313fcf87a4
commit
d81bd44253
|
@ -38,7 +38,7 @@ class Pterodactyl
|
||||||
private static function getException(string $message = "", int $status = 0): Exception
|
private static function getException(string $message = "", int $status = 0): Exception
|
||||||
{
|
{
|
||||||
if ($status == 404) {
|
if ($status == 404) {
|
||||||
return new Exception("Server does not exist on pterodactyl - " . $message, 404);
|
return new Exception("Ressource does not exist on pterodactyl - " . $message, 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($status == 403) {
|
if ($status == 403) {
|
||||||
|
|
Loading…
Reference in a new issue