mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Try changes to the handler
This commit is contained in:
parent
6e5bca8306
commit
bf778d2fca
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user