X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fdispatch.py;h=2ece0931513acb4ebcbbfe82efc639dce87ec2ca;hp=5276892ac9e1abbc8250a92f07d78cdc0722e052;hb=b0f95b219e2f9aea9f81d696adbfaaa0e41a6eaf;hpb=537064f6656c313c601126692d31628a85de663d diff --git a/wrw/dispatch.py b/wrw/dispatch.py index 5276892..2ece093 100644 --- a/wrw/dispatch.py +++ b/wrw/dispatch.py @@ -19,6 +19,7 @@ def mangle(result): def defaulterror(req, excinfo): from . import resp traceback.print_exception(*excinfo) + sys.stderr.flush() raise resp.httperror(500) def wraphandler(handler, excinfo):