Project

General

Profile

Actions

Task #3049

open

Check for null in EmailCallback class inside DefaultEmailer

Added by Roman Kučera about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Roman Kučera
Category:
Notification
Target version:
-
Start date:
02/03/2022
Due date:
% Done:

0%

Estimated time:
Owner:

Description

EmailCallback is used for updating emailLog on fail or on success.
If no emailLog id is passed then it throw error in log, but the email was still send correctly.
Add condition and make it as warning os monitoring for errors will not pick it up.

emaillog id can be null when you sending email directly without persisting it to email audit.
This specifically occurs in SMS modul, where one sms sender is sending emails in fact.

No data to display

Actions

Also available in: Atom PDF