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

Detect misconfigured plugin config lists at start time #464

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

peteeckel
Copy link
Owner

fixes #463

In case of some plugin configuration settings that expect lists, a misconfiguration is only detected at runtime, yielding a "500 Internal Server Error" type exception.

This PR adds basic validation at start time, making NetBox startup fail if there is a misconfigured setting that would lead to such an error.

@peteeckel peteeckel merged commit 0673c38 into main Oct 28, 2024
10 checks passed
@peteeckel peteeckel deleted the fix/validate-setting-type-for-lists branch October 28, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misconfiguration in PLUGINS_CONFIG causes 500 Internal Server Error
1 participant