Merge pull request #442 from bunnyhugdev/master
Prevent error in restful decorator from swallowing up stacktrace
This commit is contained in:
commit
489646f178
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user