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

Print errors to stderr
markjh/swagger_examples
Kegsay 9 years ago
commit 5fbd534713

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

Loading…
Cancel
Save