From 0447ef8c64cc62955a4dbfe9d6d2f98a04c491dd Mon Sep 17 00:00:00 2001 From: Christophe Benz Date: Sat, 10 Jul 2010 02:28:36 +0200 Subject: [PATCH] use error repr to have class name --- weboob/core/bcall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/core/bcall.py b/weboob/core/bcall.py index b707f9a1..c44b015a 100644 --- a/weboob/core/bcall.py +++ b/weboob/core/bcall.py @@ -32,7 +32,7 @@ class CallErrors(Exception): def __init__(self, errors): Exception.__init__(self, u'These errors have been raised in backend threads '\ '(use --debug option to print backtraces):\n%s' % ( - u'\n'.join((u' * %s: %s%s' % (backend, error, backtrace + '\n' + u'\n'.join((u' * %s: %s%s' % (backend, repr(error), backtrace + '\n' if logging.root.level == logging.DEBUG else '')) for backend, error, backtrace in errors))) self.errors = copy(errors)