mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Try changes to the handler
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user