use error repr to have class name
This commit is contained in:
parent
ac592fe25d
commit
0447ef8c64
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class CallErrors(Exception):
|
||||||
def __init__(self, errors):
|
def __init__(self, errors):
|
||||||
Exception.__init__(self, u'These errors have been raised in backend threads '\
|
Exception.__init__(self, u'These errors have been raised in backend threads '\
|
||||||
'(use --debug option to print backtraces):\n%s' % (
|
'(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 ''))
|
if logging.root.level == logging.DEBUG else ''))
|
||||||
for backend, error, backtrace in errors)))
|
for backend, error, backtrace in errors)))
|
||||||
self.errors = copy(errors)
|
self.errors = copy(errors)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue