taecontrol / moonguard

MoonGuard: Keep your sites in orbit.
https://moonguard.dev
MIT License
29 stars 1 forks source link

getStatusCode() can be called on null object. #135

Open rpereira-tae opened 7 months ago

rpereira-tae commented 7 months ago

@w1ls0nv3l found this exception while testing the check-uptime with an offline app.

[2024-03-27 18:10:15] local.ERROR: Call to a member function getStatusCode() on null {"exception":"[object] (Error(code: 0): Call to a member function getStatusCode() on null at /home/emmanuel/MiProject/laravel11test/vendor/laravel/framework/src/Illuminate/Http/Client/Response.php:135)
[stacktrace]