Merge pull request #51 from matrix-org/daniel/gendoc

Print errors to stderr
pull/977/head
Kegsay 9 years ago
commit 5fbd534713

@ -104,7 +104,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():

Loading…
Cancel
Save