mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Mail: Log error message after retry
This commit is contained in:
@@ -605,7 +605,7 @@ def mail_send_task(self, *args, to: List[str], subject: str, body: str, html: st
|
|||||||
'pretix.email.error',
|
'pretix.email.error',
|
||||||
data={
|
data={
|
||||||
'subject': 'Internal error',
|
'subject': 'Internal error',
|
||||||
'message': 'Max retries exceeded',
|
'message': f'Max retries exceeded after error "{str(e)}"',
|
||||||
'recipient': '',
|
'recipient': '',
|
||||||
'invoices': [],
|
'invoices': [],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user