From fd82aeb443d7ee9e818c2a9db9c4d4c3a1bdd20d Mon Sep 17 00:00:00 2001 From: Eric Holscher <25510+ericholscher@users.noreply.github.com> Date: Wed, 25 Sep 2024 01:27:50 -0800 Subject: [PATCH] Add exit_code to build errors (#11597) --- readthedocs/doc_builder/environments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/readthedocs/doc_builder/environments.py b/readthedocs/doc_builder/environments.py index b58b64560c1..9dd49046981 100644 --- a/readthedocs/doc_builder/environments.py +++ b/readthedocs/doc_builder/environments.py @@ -523,6 +523,7 @@ def run_command_class( msg, command=build_cmd.get_command(), output=build_output, + exit_code=build_cmd.exit_code, project_slug=self.project.slug if self.project else "", version_slug=self.version.slug if self.version else "", )