Skip to content

Implement error handling for settings functions loading #341

Description

@toonarmycaptain

Currently an empty or malformed settings.py will cause an error. Future planned reimplementation as JSON text file will not solve this issue.
Ideally error handling will handle these cases:

  • Empty settings.py file.
  • Malformed/invalid python settings.py file
  • Malformed or invalid data in settings.py file eg:
    • 'database': 'redis'
    • Invalid path for chart save folder.
  • Check for valid schema/keys.
  • Check for anything except expected single dict - protect against running unexpected code?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions