Prevent error in restful decorator from swallowing up stacktrace

This commit is contained in:
Joel Rathgaber
2014-05-13 12:03:46 -06:00
parent 7cfa2a54b7
commit 4ff63694c7
+1 -1
View File
@@ -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