summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index e97447e86..005605f1c 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -55,6 +55,7 @@ class ExtensionError(SphinxError):
def __init__(self, message, orig_exc=None):
# type: (unicode, Exception) -> None
SphinxError.__init__(self, message)
+ self.message = message
self.orig_exc = orig_exc
def __repr__(self):