Merge pull request #442 from bunnyhugdev/master

Prevent error in restful decorator from swallowing up stacktrace
This commit is contained in:
mdipierro
2014-05-16 22:24:39 -05:00
+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