|
@@ -515,7 +515,7 @@ def run(self):
|
|
except QAPIError as err:
|
|
except QAPIError as err:
|
|
# Launder QAPI parse errors into Sphinx extension errors
|
|
# Launder QAPI parse errors into Sphinx extension errors
|
|
# so they are displayed nicely to the user
|
|
# so they are displayed nicely to the user
|
|
- raise ExtensionError(str(err))
|
|
|
|
|
|
+ raise ExtensionError(str(err)) from err
|
|
|
|
|
|
def do_parse(self, rstlist, node):
|
|
def do_parse(self, rstlist, node):
|
|
"""Parse rST source lines and add them to the specified node
|
|
"""Parse rST source lines and add them to the specified node
|