1
0
mirror of https://github.com/httpie/cli.git synced 2026-06-20 11:32:56 +02:00

Improved --debug.

This commit is contained in:
Jakub Roztocil
2012-08-07 14:50:51 +02:00
parent 49e44d9b7e
commit 1fbe7a6121
5 changed files with 58 additions and 28 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ def http(*args, **kwargs):
try:
try:
exit_status = main(args=['--debug'] + list(args), **kwargs)
exit_status = main(args=['--traceback'] + list(args), **kwargs)
except Exception:
sys.stderr.write(env.stderr.read())
raise