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

Informative error messages on catalogue interloper KeyErrors #101

Open
edoaltamura opened this issue Sep 12, 2023 · 1 comment
Open

Informative error messages on catalogue interloper KeyErrors #101

edoaltamura opened this issue Sep 12, 2023 · 1 comment

Comments

@edoaltamura
Copy link

We could raise errors with a better-documented message when encountering interloper-related errors, such as KeyError: 'interloper'. For instance, version 0.10.0 cannot load interlopers in zoom simulations, but version 0.15.8 supports them - additional info can be printed such as "Interlopers found in <*.properties> do not match expectations. You can try updating velociraptor by running 'pip install velociraptor --upgrade'".

@MatthieuSchaller
Copy link
Member

Right, but improving the error message won't help with people running an old version.

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

No branches or pull requests

2 participants