Skip to content
Browse files

[FIX] base: fix logger message

Simple typo; instead of a logger message, an exception is output in the logs.

closes #36618

Signed-off-by: Nans Lefebvre (len) <>
  • Loading branch information...
len-odoo committed Sep 10, 2019
1 parent dd620c7 commit 3004d37752bacd60d041cfc5f5de0bcfb9109ae8
Showing with 1 addition and 1 deletion.
  1. +1 −1 odoo/addons/base/ir/
@@ -126,7 +126,7 @@ def encode_addr(addr):
return formataddr((name, email))
except UnicodeEncodeError:
_logger.warning(_('Failed to encode the address %s\n'
'from mail header:\n%s') % addr, header_text)
'from mail header:\n%s') % (addr, header_text))
return ""

addresses = getaddresses([pycompat.to_native(ustr(header_text))])

0 comments on commit 3004d37

Please sign in to comment.
You can’t perform that action at this time.