Commit cdd74778 authored by Tobias Mueller's avatar Tobias Mueller

i18n: log with info rather than exception

This seems to be a quite normal case. Having the exception there looks
weird. Let's reduce the visual noise by making it an info log.
parent d80125d2
......@@ -41,7 +41,7 @@ log.debug (_("Translated for gettext (C)"))
_ = lang.ugettext
except AttributeError:
log.exception("Cannot get ugettext from lang: %r", lang)"Cannot get ugettext from lang: %r", lang, exc_info=True)
# TRANSLATORS: Please include your locale, e.g. "de". We're trying to debug pure python gettext
log.debug (_("Translated for Python (C)"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment