Skip to content
Snippets Groups Projects
Commit ee1156b7a59d authored by Boris Feld's avatar Boris Feld
Browse files

Print process output in case of bad return code to ease debugging

parent 58843268916b
No related merge requests found
from __future__ import print_function
import os
import os.path
import re
......@@ -237,6 +238,7 @@
env=self.environ)
except subprocess.CalledProcessError as exc:
if exc.returncode != expected_return_code:
print(exc.output)
raise
else:
if expected_return_code != 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment