regro / rever

Releaser of Versions
https://regro.github.io/rever-docs/
BSD 3-Clause "New" or "Revised" License
74 stars 33 forks source link

Improve error handling #262

Open dholth opened 1 year ago

dholth commented 1 year ago

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.