diff --git a/src/Checks/Traits/ChecksUrl.php b/src/Checks/Traits/ChecksUrl.php index bde5e21..a91df24 100644 --- a/src/Checks/Traits/ChecksUrl.php +++ b/src/Checks/Traits/ChecksUrl.php @@ -74,18 +74,19 @@ public function run(): Result throw new Exception('URL not set'); } - try { + // try { $request = Http::timeout($this->timeout) ->withHeaders($this->headers) ->retry($this->retryTimes) ->send($this->method, $this->url); + var_dump($request->successful()); if (! $request->successful()) { - return $this->failedResult(); + // return $this->failedResult(); } - } catch (Exception) { - return $this->failedResult(); - } + // } catch (Exception) { + // return $this->failedResult(); + // } return Result::new() ->ok();