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

Implement error handling for settings functions loading #341

Open
5 tasks
toonarmycaptain opened this issue Aug 19, 2020 · 0 comments
Open
5 tasks

Implement error handling for settings functions loading #341

toonarmycaptain opened this issue Aug 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@toonarmycaptain
Copy link
Owner

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?
@toonarmycaptain toonarmycaptain added the enhancement New feature or request label Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant