Skip to content

Commit

Permalink
Merge pull request #53 from totaler/imp_error_message
Browse files Browse the repository at this point in the history
Imp email id in error message
  • Loading branch information
ecarreras authored May 17, 2018
2 parents 9f1c53a + 75bf96c commit f62e568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poweremail_mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ def historise(self, cr, uid, ids, message='', context=None, error=False):
'history': '',
'pem_to': mail.pem_account_id.email_id,
'pem_subject': _(
u"Error sending email: %s"
) % mail.pem_subject
u"Error sending email with id {}: {}"
).format(mail.id, mail.pem_subject)
}
bounce_mail_id = self.copy(cr, uid, pmail_id, vals)
ctx = context.copy()
Expand Down

0 comments on commit f62e568

Please sign in to comment.