Print errors to stderr

This means that continuserv will actually display them
This commit is contained in:
Daniel Wagner-Hall 2015-09-18 10:26:13 +01:00
parent 0b183f06f8
commit 08defafd98

View file

@ -49,7 +49,7 @@ def run_through_template(input):
) )
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
with open(tmpfile, 'r') as f: with open(tmpfile, 'r') as f:
print f.read() sys.stderr.write(f.read() + "\n")
raise raise
def prepare_env(): def prepare_env():