fix exception reporting (>.>)

This commit is contained in:
flash 2016-12-04 18:01:29 +01:00
parent fa4d9a9226
commit 09e7549081

View file

@ -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);
}