Commit 5e76b157 authored by Jérome Perrin's avatar Jérome Perrin

Log traceback of errors from Localizers's accept methods

parent 58a2f502
...@@ -180,7 +180,7 @@ class Localizer(LanguageManager, Folder): ...@@ -180,7 +180,7 @@ class Localizer(LanguageManager, Folder):
method(accept_language) method(accept_language)
except: except:
LOG(self.meta_type, PROBLEM, LOG(self.meta_type, PROBLEM,
'method "%s" raised an exception.' % id) 'method "%s" raised an exception.' % id, error=True)
# Changing the language, useful snippets # Changing the language, useful snippets
......
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