Don't change this
@@ -418,13 +418,7 @@ class BuildEnvironment(object):
# BuildEnvironmentException or BuildEnvironmentWarning
if isinstance(self.failure,
(BuildEnvironmentException, BuildEnvironmentWarning)):
- self.build['error'] = ugettext_noop(
- "A failure in building the documentation as occured. "
- "If you believe this is an error with Read the Docs, "
- "please include the build id({}) in your bug report.".format(
- self.build['pk']
- )
- )
+ self.build['error'] = str(self.failure)
else:
self.build['error'] = ugettext_noop(
"A failure in our code has occured. "
