fix exception reporting (>.>)
This commit is contained in:
parent
fa4d9a9226
commit
09e7549081
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ class ExceptionHandler
|
||||||
*/
|
*/
|
||||||
public static function exception(Throwable $ex): void
|
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);
|
self::report($ex, $report);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue