From 4ff63694c721b5508f25b1481ccdfe3da84c2e91 Mon Sep 17 00:00:00 2001 From: Joel Rathgaber Date: Tue, 13 May 2014 12:03:46 -0600 Subject: [PATCH] Prevent error in restful decorator from swallowing up stacktrace --- gluon/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/globals.py b/gluon/globals.py index 2d5f1fef..55de849c 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -356,7 +356,7 @@ class Request(Storage): if len(traceback.extract_tb(exc_traceback)) == 1: raise HTTP(400, "invalid arguments") else: - raise e + raise f.__doc__ = action.__doc__ f.__name__ = action.__name__ return f