From 09e75490817e9a8def493be14dd884d38c9fec6e Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 4 Dec 2016 18:01:29 +0100 Subject: [PATCH] fix exception reporting (>.>) --- app/ExceptionHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }