Skip to content
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

Change normal Exception to HTTPException for built-in error handler #4

Open
QinghuaLong opened this issue Jul 26, 2019 · 1 comment

Comments

@QinghuaLong
Copy link

For stage or prod environment, we need to raise HTTPException in FLASK world to return the custom message and status code in the response. Need to change accordingly for the built error handlers in rse_api.

@tinghf
Copy link
Member

tinghf commented Jul 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants