diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 4cc10dfd9..03765d879 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -55,8 +55,8 @@ public function render($request, Throwable $exception) { && (!in_array(get_class($exception), $this->dontReference) || $exception->getCode() === 500) ) { $name = get_class($exception); - $exception = new Referencable(); - Log::error(sprintf('Reference for above exception of type %s: %s', $name, $exception->reference)); + //ToDo: $exception = new Referencable(); + Log::error(sprintf('Reference for above exception of type %s: %s', $name, 'nonexistent-reference')); } $response = parent::render($request, $exception);