mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
wot ❓
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
namespace Pterodactyl\Services\Helpers;
|
namespace Pterodactyl\Services\Helpers;
|
||||||
|
|
||||||
|
use stdClass;
|
||||||
use Exception;
|
use Exception;
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use Illuminate\Contracts\Cache\Repository as CacheRepository;
|
use Illuminate\Contracts\Cache\Repository as CacheRepository;
|
||||||
@@ -142,7 +143,7 @@ class SoftwareVersionService
|
|||||||
|
|
||||||
throw new CdnVersionFetchingException;
|
throw new CdnVersionFetchingException;
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
return (object) [];
|
return new stdClass();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user