We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf20d0 commit 10fe735Copy full SHA for 10fe735
readthedocs/doc_builder/environments.py
@@ -457,7 +457,8 @@ def run_command_class(
457
if warn_only:
458
msg = 'Command {cmd} failed'.format(cmd=build_cmd.get_command())
459
if build_cmd.output:
460
- msg += ':\n{out}'.format(out=build_cmd.output)
+ truncated_output = "\n".join(build_cmd.output.split("\n")[:10])
461
+ msg += ":\n{out}".format(out=truncated_output)
462
log.warning(
463
msg,
464
project_slug=self.project.slug if self.project else '',
0 commit comments