mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 17:24:10 +01:00
Merge pull request #51 from matrix-org/daniel/gendoc
Print errors to stderr
This commit is contained in:
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…
Reference in a new issue