errors to stderr

pull/21148/head
Brian Coca 8 years ago
parent 798972c72a
commit 942ed146c3

@ -254,9 +254,8 @@ def main():
pc.deserialize(pc_data) pc.deserialize(pc_data)
except Exception as e: except Exception as e:
# FIXME: better error message/handling/logging # FIXME: better error message/handling/logging
print("FAIL: %s" % e) sys.stderr.write(traceback.format_exc())
print(traceback.format_exc()) sys.exit("FAIL: %s" % e)
sys.exit(1)
display.verbosity = pc.verbosity display.verbosity = pc.verbosity

Loading…
Cancel
Save