From bf778d2fca9d9e513f5597f8eda608724630707d Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 11 Feb 2016 14:17:58 +0100 Subject: [PATCH] Try changes to the handler --- app/Exceptions/Handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 3595acf0c3..43257bab07 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -12,7 +12,7 @@ use Log; use Mail; use Swift_TransportException; use Symfony\Component\HttpKernel\Exception\HttpException; - +use Auth; /** * Class Handler * @@ -73,7 +73,7 @@ class Handler extends ExceptionHandler // mail? try { $email = env('SITE_OWNER'); - $user = $request->user(); + $user = Auth::user(); $args = [ 'errorMessage' => $exception->getMessage(), 'stacktrace' => $exception->getTraceAsString(),