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

Preventing Flask termination when exceptions are raised? #29

Open
stevenringo opened this issue Feb 14, 2020 · 0 comments
Open

Preventing Flask termination when exceptions are raised? #29

stevenringo opened this issue Feb 14, 2020 · 0 comments

Comments

@stevenringo
Copy link

Hi,

This is fantastic and perfect for our needs. One challenge I am having (with Dash in general) and hoping there might be a way to address it as part of a config or set up parameter: Flask's default behaviour is to keep the server running when a Python exception is raised. You then get to see the exception in the browser. For some reason, Dash's Flask blueprint does not do this and the server process terminates. Any ideas on how to "fix" this? As a Python newbie, I would tend to make more mistakes in development than most. Having to restart the server every time I hit a syntax or other soon becomes very onerous.

@stevenringo stevenringo changed the title Preventing Flask termination Preventing Flask termination when exceptions are raised Feb 14, 2020
@stevenringo stevenringo changed the title Preventing Flask termination when exceptions are raised Preventing Flask termination when exceptions are raised? Feb 14, 2020
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

1 participant