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 "", )