Skip to content

Preventing Flask termination when exceptions are raised? #29

@stevenringo

Description

@stevenringo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions