mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 06:33:57 -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 Mail;
|
||||||
use Swift_TransportException;
|
use Swift_TransportException;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||||
|
use Auth;
|
||||||
/**
|
/**
|
||||||
* Class Handler
|
* Class Handler
|
||||||
*
|
*
|
||||||
@ -73,7 +73,7 @@ class Handler extends ExceptionHandler
|
|||||||
// mail?
|
// mail?
|
||||||
try {
|
try {
|
||||||
$email = env('SITE_OWNER');
|
$email = env('SITE_OWNER');
|
||||||
$user = $request->user();
|
$user = Auth::user();
|
||||||
$args = [
|
$args = [
|
||||||
'errorMessage' => $exception->getMessage(),
|
'errorMessage' => $exception->getMessage(),
|
||||||
'stacktrace' => $exception->getTraceAsString(),
|
'stacktrace' => $exception->getTraceAsString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user