parent
de078273a0
commit
ba07ab5533
|
@ -37,7 +37,7 @@ class Outcome(object):
|
||||||
etype = excinfo.typename
|
etype = excinfo.typename
|
||||||
val = getattr(excinfo, 'value', None)
|
val = getattr(excinfo, 'value', None)
|
||||||
if not val:
|
if not val:
|
||||||
val = exinfo.exconly()
|
val = excinfo.exconly()
|
||||||
val = str(val)
|
val = str(val)
|
||||||
return (etype, val, (tb_info, rec_index))
|
return (etype, val, (tb_info, rec_index))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue