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

More informative / less overwhelming server configuration errors #445

Open
marcua opened this issue Aug 18, 2024 · 0 comments
Open

More informative / less overwhelming server configuration errors #445

marcua opened this issue Aug 18, 2024 · 0 comments

Comments

@marcua
Copy link
Owner

marcua commented Aug 18, 2024

If you misconfigure ayb.toml, the error is informative, but the information is hidden in a long string:

called `Result::unwrap()` on an `Err` value: Other { message: "Unable to deserialize toml string: Error { inner: Error { inner: TomlError { message: \"missing field `max_snapshots`\", raw:...

The server should catch TomlError and print message to make the issue clearer.

@marcua marcua converted this from a draft issue Aug 18, 2024
@marcua marcua changed the title More informative server configuration errors More informative / less overwhelming server configuration errors Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant