Improved logging, avoid fatal error

This commit is contained in:
Michael 2020-12-30 07:13:47 +00:00
parent 96e140a027
commit c5c9fda93c
2 changed files with 3 additions and 2 deletions

View file

@ -292,7 +292,7 @@ class Event
$contact = DBA::selectFirst('contact', [], $conditions);
if (!DBA::isResult($contact)) {
Logger::warning('Contact not found', ['condition' => $conditions]);
Logger::warning('Contact not found', ['condition' => $conditions, 'cakkstack' => System::callstack(20)]);
}
// Existing event being modified.