mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Inherit logger as Trait
This commit is contained in:
parent
b5b1d5f88a
commit
0a3effc6ba
27 changed files with 157 additions and 199 deletions
|
|
@ -196,7 +196,7 @@ trait Messages
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
$this->Logger()->WriteException($oException, \LOG_ERR);
|
||||
$this->logException($oException, \LOG_ERR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ trait Messages
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
$this->Logger()->WriteException($oException, \LOG_ERR);
|
||||
$this->logException($oException, \LOG_ERR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -297,7 +297,7 @@ trait Messages
|
|||
}
|
||||
catch (\Throwable $oException)
|
||||
{
|
||||
$this->Logger()->WriteException($oException);
|
||||
$this->logException($oException);
|
||||
}
|
||||
|
||||
return $this->TrueResponse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue