Traceback when usage error occurs #768
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
As part of prototyping another feature, I accidentally ran borgmatic with an invalid argument. However this produced a traceback instead of a nice usage error message.
Steps to reproduce
Actual behavior
Expected behavior
Other notes / implementation ideas
This problem appears to have been introduced in borgmatic 1.8.3, and in particular I'm guessing it was the logging changes as part of #665.
borgmatic version
1.8.3 or main
borgmatic installation method
pipx install --editable
Borg version
1.2.3
Python version
3.10.10
Database version (if applicable)
No response
Operating system and version
Manjaro stable
Fixed in main. The fix will be part of the next release.
Released in borgmatic 1.8.4!