Try changes to the handler

This commit is contained in:
James Cole 2016-02-11 14:17:58 +01:00
parent 6e5bca8306
commit bf778d2fca

View File

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