Skip to content

Commit c721594

Browse files
committed
fix send_email logger
1 parent 82a1bbb commit c721594

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/worker/email.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,7 @@ async def run(self):
8181
attachments = [a async for a in self._generate_base64_pdf(self.recipient.pdf_attachments)]
8282
attachments += [a async for a in self._generate_base64(self.recipient.attachments)]
8383
if self.ctx['job_try'] >= 2:
84-
main_logger.info(
85-
'%s: finished generating all attachments',
86-
self.group_id,
87-
len(self.recipient.pdf_attachments),
88-
len(self.recipient.attachments),
89-
)
84+
main_logger.info('%s: finished generating all attachments', self.group_id)
9085

9186
if self.m.method == EmailSendMethod.email_mandrill:
9287
if self.recipient.address.endswith('@example.com'):

0 commit comments

Comments
 (0)