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

Misleading error messages #754

Open
deajan opened this issue Oct 20, 2023 · 0 comments
Open

Misleading error messages #754

deajan opened this issue Oct 20, 2023 · 0 comments

Comments

@deajan
Copy link

deajan commented Oct 20, 2023

Hello,

I am configuring a zrepl lab, and goofed around with the config files.
When I added options that shoudln't exist (like snapshot/pruning in a source job) or (recv/encryption in a pull job), I get an error message like:

line 22: field encrypted not found in type config.RecvOptions

While I can understand that I added a non existing option in the yaml file, from the error message it looks like the field encryption is missing.

I advocate to update the error message to something like:

line 22: field encrypted not available in type config.RecvOptions

Thanks for zrepl, looks like a good timesaver ;)

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

No branches or pull requests

2 participants