Skip to content

Silent errors due to general exceptions being caught #269

@Joe-Heffer-Shef

Description

@Joe-Heffer-Shef

This code catches all possible exceptions. This catches configuration errors as well as invalid form entries, causing silent failures and bugs:

except Exception:

Please catch specific exceptions only, see:
https://medium.com/@saadjamilakhtar/5-best-practices-for-python-exception-handling-5e54b876a20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions