mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Improved InvalidToken handling for #1653
This commit is contained in:
parent
7f64dee54b
commit
288ff23f2b
3 changed files with 18 additions and 7 deletions
|
|
@ -149,9 +149,9 @@ class ServiceActions
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
\SnappyMail\Log::warning('SERVICE', "{$oException->getMessage()}\r\n{$oException->getTraceAsString()}");
|
||||
\SnappyMail\Log::warning('SERVICE', "{$oException}");
|
||||
if ($e = $oException->getPrevious()) {
|
||||
\SnappyMail\Log::warning('SERVICE', "- {$e->getMessage()} @ {$e->getFile()}#{$e->getLine()}");
|
||||
\SnappyMail\Log::warning('SERVICE', "- {$e}");
|
||||
}
|
||||
|
||||
$aResponse = $this->oActions->ExceptionResponse($oException);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue