Miscellaneous debug log additions.

This commit is contained in:
Will Stott
2017-09-06 16:22:06 +01:00
parent 866a1bc72a
commit b99b55e426
2 changed files with 11 additions and 2 deletions

View File

@ -447,7 +447,7 @@ def ticket_from_message(message, queue, logger):
attached = process_attachments(f, files)
for att_file in attached:
logger.info("Attachment '%s' successfully added to ticket from email." % att_file[0])
logger.info("Attachment '%s' (with size %s) successfully added to ticket from email." % (att_file[0], att_file[1].size))
context = safe_template_context(t)