mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-20 11:38:52 +00:00
debug nonsense
This commit is contained in:
parent
99f00818a8
commit
7ca3c86a35
@ -119,7 +119,8 @@ def parse_or_exit_with_explanation(argv, stdout=sys.stdout):
|
|||||||
msg = e.args[0].decode(get_io_encoding())
|
msg = e.args[0].decode(get_io_encoding())
|
||||||
except Exception:
|
except Exception:
|
||||||
msg = repr(e)
|
msg = repr(e)
|
||||||
print("%s: %s\n" % (sys.argv[0], quote_output(msg, quotemarks=False)), file=stdout)
|
for f in stdout, open("debug.txt", "wt"):
|
||||||
|
print("%s: %s\n" % (sys.argv[0], quote_output(msg, quotemarks=False)), file=f)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user