mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
More precise log message for skipped attachments
This commit is contained in:
@@ -229,7 +229,7 @@ def mail_send_task(self, *args, to: List[str], subject: str, body: str, html: st
|
||||
pass
|
||||
else:
|
||||
order.log_action(
|
||||
'pretix.event.order.email.error',
|
||||
'pretix.event.order.email.attachments.skipped',
|
||||
data={
|
||||
'subject': 'Attachments skipped',
|
||||
'message': 'Attachment have not been send because {} bytes are likely too large to arrive.'.format(attach_size),
|
||||
|
||||
Reference in New Issue
Block a user