mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-09 21:57:24 +00:00
fix: Error/CommandError have a output format for 1 argument
(backport from master, only thing todo here was that one place)
This commit is contained in:
parent
52c90786fc
commit
420ef45f63
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ class Archiver:
|
|||
if rc != 0:
|
||||
raise CommandError(f'Command {args.paths[0]!r} exited with status {rc}')
|
||||
except BackupError as e:
|
||||
raise Error('%s: %s', path, e)
|
||||
raise Error(f'{path!r}: {e}')
|
||||
else:
|
||||
status = '-'
|
||||
self.print_file_status(status, path)
|
||||
|
|
Loading…
Add table
Reference in a new issue