mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-19 05:09:22 +08:00
Detailed exception log
This commit is contained in:
parent
471628618c
commit
3a1046f215
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class ServiceActions
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
\SnappyMail\Log::warning('SERVICE', $oException->getMessage());
|
||||
\SnappyMail\Log::warning('SERVICE', "{$oException->getMessage()}\r\n{$oException->getTraceAsString()}");
|
||||
if ($e = $oException->getPrevious()) {
|
||||
\SnappyMail\Log::warning('SERVICE', "- {$e->getMessage()} @ {$e->getFile()}#{$e->getLine()}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue