Mail: Fix another log_action usage

This commit is contained in:
Raphael Michel
2021-05-07 11:35:52 +02:00
parent 706f330a6e
commit 0a7a3537eb

View File

@@ -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():
message.append(f'{e}: {val[0]} {val[1].decode()}')
logger.log_action(
log_target.log_action(
'pretix.email.error',
data={
'subject': 'SMTP error',