summaryrefslogtreecommitdiff
path: root/sphinx/events.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-07-24 23:49:45 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-07-24 23:49:45 +0900
commit327c1872841bc6a98aa766fc3d7ee921e6d3b658 (patch)
treed3424f7aadc4a3118eb7fb72e245b4fbe8391e58 /sphinx/events.py
parentdc63eaf196d37c70410d37c3d28297fb513f7f6d (diff)
parent5b096c42ff3a907fa7bcce3fa620209da16d40bd (diff)
downloadsphinx-git-327c1872841bc6a98aa766fc3d7ee921e6d3b658.tar.gz
Merge branch '3.x'
Diffstat (limited to 'sphinx/events.py')
-rw-r--r--sphinx/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/events.py b/sphinx/events.py
index 9d7402554..ff753b3b6 100644
--- a/sphinx/events.py
+++ b/sphinx/events.py
@@ -107,7 +107,7 @@ class EventManager:
raise
except Exception as exc:
raise ExtensionError(__("Handler %r for event %r threw an exception") %
- (listener.handler, name)) from exc
+ (listener.handler, name), exc) from exc
return results
def emit_firstresult(self, name: str, *args: Any,