From 56cbc7683e485fbe0ed110506e147a13e4ad2866 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 11 Feb 2016 14:20:18 +0100 Subject: [PATCH] Try changes to the handler --- app/Exceptions/Handler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 43257bab07..1abd62f597 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -10,6 +10,7 @@ use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Mail\Message; use Log; use Mail; +use Request; use Swift_TransportException; use Symfony\Component\HttpKernel\Exception\HttpException; use Auth; @@ -82,7 +83,7 @@ class Handler extends ExceptionHandler 'code' => $exception->getCode(), 'loggedIn' => !is_null($user), 'user' => $user, - 'ip' => $request->ip(), + 'ip' => Request::ip(), ];