Skip to content

Commit 3f8076f

Browse files
committed
Don't change this
1 parent 17bf06d commit 3f8076f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

readthedocs/doc_builder/environments.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,7 @@ def update_build(self, state=None):
418418
# BuildEnvironmentException or BuildEnvironmentWarning
419419
if isinstance(self.failure,
420420
(BuildEnvironmentException, BuildEnvironmentWarning)):
421-
self.build['error'] = ugettext_noop(
422-
"A failure in building the documentation as occured. "
423-
"If you believe this is an error with Read the Docs, "
424-
"please include the build id({}) in your bug report.".format(
425-
self.build['pk']
426-
)
427-
)
421+
self.build['error'] = str(self.failure)
428422
else:
429423
self.build['error'] = ugettext_noop(
430424
"A failure in our code has occured. "

0 commit comments

Comments
 (0)