Update Report page for log
This commit is contained in:
parent
a28e4552fe
commit
15e3caf2f9
1 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,12 @@ class Report extends Page
|
|||
$result = $this->sendReport($report);
|
||||
} catch (MailException $e) {
|
||||
$result = false;
|
||||
|
||||
$this->c->Log->error('Report send MailException', [
|
||||
'user' => $this->user->fLog(),
|
||||
'exception' => $e,
|
||||
'headers' => false,
|
||||
]);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue