Try changes to the handler

This commit is contained in:
James Cole 2016-02-11 14:20:18 +01:00
parent bf778d2fca
commit 56cbc7683e

View File

@ -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(),
];