diff --git a/app/ExceptionHandler.php b/app/ExceptionHandler.php index 4697309..a9aa8a7 100644 --- a/app/ExceptionHandler.php +++ b/app/ExceptionHandler.php @@ -38,9 +38,9 @@ class ExceptionHandler */ public static function exception(Throwable $ex): void { - $report = strlen(config('dev.report_host')) > 0; + $report = config('dev.report_host'); - if ($report) { + if (strlen($report) > 0) { self::report($ex, $report); }