Skip to content

Commit

Permalink
Merge pull request openedx#24779 from msegado/master
Browse files Browse the repository at this point in the history
Fix double-wrapped exception in capa/inputtypes.py
  • Loading branch information
felipemontoya authored Aug 20, 2020
2 parents a23cfda + b2a32bb commit 7813850
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/lib/capa/capa/inputtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def __init__(self, system, xml, state):
# 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
Expand Down

0 comments on commit 7813850

Please sign in to comment.