File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ def check_method_requirements(func):
5757 @wraps (func )
5858 def wrapper (* args , ** kwargs ):
5959 error_message = "You must provide {error_field} in {cls} to get access to the default {method} method"
60- error_data = {'cls' : args [0 ].__class__ .__name__ , 'method' : request .method .lower ()}
60+ error_data = {'cls' : args [0 ].__class__ .__name__ ,
61+ 'method' : request .method .lower ()}
6162
6263 if request .method != 'DELETE' :
6364 if not hasattr (args [0 ], 'schema' ):
@@ -80,7 +81,7 @@ def wrapper(*args, **kwargs):
8081 headers )
8182 except Exception as e :
8283 if current_app .config ['DEBUG' ] is True or current_app .config .get ('PROPAGATE_EXCEPTIONS' ) is True :
83- raise e
84+ raise
8485
8586 if 'sentry' in current_app .extensions :
8687 current_app .extensions ['sentry' ].captureException ()
You can’t perform that action at this time.
0 commit comments