Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8437855
)
Flush stderr after printing exception in the default error handler.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Jan 2014 07:02:41 +0000
(08:02 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Jan 2014 07:02:41 +0000
(08:02 +0100)
wrw/dispatch.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/dispatch.py
b/wrw/dispatch.py
index
1dedbe6
..
f0326cb
100644
(file)
--- a/
wrw/dispatch.py
+++ b/
wrw/dispatch.py
@@
-19,6
+19,7
@@
def mangle(result):
def defaulterror(req, excinfo):
import resp
traceback.print_exception(*excinfo)
+ sys.stderr.flush()
raise resp.httperror(500)
def wraphandler(handler, excinfo):