Skip to content

Correctly handle exceptions when creating handlers #3897

@roji

Description

@roji

The GeoJSON handler queries the database when it's initialized, if an exception occurs, it's likely we don't handle it correctly and get into a bad state. Make sure the connection is broken, and that everything else works well.

Thanks @vonzshik for spotting this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions