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

fix: use numeric values within range for debug level setting #183

Merged

Conversation

Wachizungu
Copy link
Contributor

Not having debug set in config.json led to some weird stuff in the GUI:
image

range() validator returns false when it gets a boolean as input (it checks for numeric input). Range is also inclusive.

Note that this change probably doesn't make sense if you don't intend to have more than 2 debug levels at some point. Then it probably makes more sense to change the field type.

@iglocska iglocska merged commit 6fcf5d0 into cerebrate-project:main Nov 23, 2024
0 of 2 checks passed
@iglocska
Copy link
Member

Ha, nice catch!

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.

2 participants