mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix guard in mail service (#2448)
This commit is contained in:
@@ -579,7 +579,7 @@ def mail_send_task(self, *args, to: List[str], subject: str, body: str, html: st
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
raise e
|
raise e
|
||||||
if logger:
|
if log_target:
|
||||||
log_target.log_action(
|
log_target.log_action(
|
||||||
'pretix.email.error',
|
'pretix.email.error',
|
||||||
data={
|
data={
|
||||||
|
|||||||
Reference in New Issue
Block a user