New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overriding http return stats on exception #6
Comments
Hi, it is not possible yet. But I think this would be a good new feature. I will add the possibility to modify status code when Does this solve your problem? Jirka |
Hey thanks for responding so quickly to this! I was thinking maybe something in the decorator itself? A config value like this could also work though |
Fine, it's released in version |
Okay I'll see if this works for now. Thank you! |
I notice that you can update the returned status on success, but can you do the same thing on error? We typically use
422
s instead of400
s for malformed requests.Thanks!
The text was updated successfully, but these errors were encountered: