Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Log stdout and stderr in project.utils.run

  • Loading branch information...
commit bfd9b87463defa6234001bcf9698c00a535a2c5c 1 parent 643fd7e
@saltycrane authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 readthedocs/projects/utils.py
View
5 readthedocs/projects/utils.py
@@ -61,6 +61,11 @@ def run(*commands):
ret = -1
log.error("Command failed", exc_info=True)
+ if out:
+ log.info('stdout: %s' % out)
+ if err:
+ log.info('stderr: %s' % err)
+
return (ret, out, err)
Please sign in to comment.
Something went wrong with that request. Please try again.