Traceback when usage error occurs #768
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#768
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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!