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

Improve error handling #262

Open
dholth opened this issue Sep 8, 2022 · 0 comments
Open

Improve error handling #262

dholth opened this issue Sep 8, 2022 · 0 comments

Comments

@dholth
Copy link
Contributor

dholth commented Sep 8, 2022

Rever will try to substitute dicts into format strings, but will not print anything about the data that caused the error.

Instead, it should augment the builtin exceptions with a list of missing keys in the dict, or prompt the user for the missing value.

For example, use https://docs.python.org/3.1/library/string.html#string.Formatter.parse to show which $substitution in the string is missing.

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

1 participant