Merge pull request #24779 from msegado/master
Fix double-wrapped exception in capa/inputtypes.py
This commit is contained in:
@@ -258,7 +258,6 @@ class InputTypeBase(object):
|
||||
# Something went wrong: add xml to message, but keep the traceback
|
||||
msg = u"Error in xml '{x}': {err} ".format(
|
||||
x=etree.tostring(xml), err=text_type(err))
|
||||
msg = Exception(msg)
|
||||
six.reraise(Exception, Exception(msg), sys.exc_info()[2])
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user