diff --git a/doc/source/examples/usage_i18n.py b/doc/source/examples/usage_i18n.py index 23c54302..5961b755 100644 --- a/doc/source/examples/usage_i18n.py +++ b/doc/source/examples/usage_i18n.py @@ -84,4 +84,4 @@ if __name__ == '__main__': try: raise Exception(_("This is exceptional")) except Exception: - LOG.exception(_("An Exception occurred")) + LOG.exception(_LE("An Exception occurred"))