forked from CGM_Public/pretix_original
Mail: Fix another log_action usage
This commit is contained in:
@@ -522,7 +522,7 @@ def mail_send_task(self, *args, to: List[str], subject: str, body: str, html: st
|
|||||||
for e, val in e.recipients.items():
|
for e, val in e.recipients.items():
|
||||||
message.append(f'{e}: {val[0]} {val[1].decode()}')
|
message.append(f'{e}: {val[0]} {val[1].decode()}')
|
||||||
|
|
||||||
logger.log_action(
|
log_target.log_action(
|
||||||
'pretix.email.error',
|
'pretix.email.error',
|
||||||
data={
|
data={
|
||||||
'subject': 'SMTP error',
|
'subject': 'SMTP error',
|
||||||
|
|||||||
Reference in New Issue
Block a user