From 53c1dff91c0b7100e1ce1b51acbf0fffbc10cf9c Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Sun, 14 Jun 2020 00:46:19 +0300 Subject: Fix exception causes all over the codebase --- sphinx/setup_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/setup_command.py') diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py index 2c0076304..24beab856 100644 --- a/sphinx/setup_command.py +++ b/sphinx/setup_command.py @@ -198,7 +198,7 @@ class BuildDoc(Command): except Exception as exc: handle_exception(app, self, exc, sys.stderr) if not self.pdb: - raise SystemExit(1) + raise SystemExit(1) from exc if not self.link_index: continue -- cgit v1.2.1