Skip to content

Commit

Permalink
Merge pull request borgbackup#8108 from ThomasWaldmann/new-rc-fix-1.4
Browse files Browse the repository at this point in the history
fix: Error/CommandError have a output format for 1 argument
  • Loading branch information
ThomasWaldmann authored Feb 20, 2024
2 parents 52c9078 + 420ef45 commit 4abc7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def create_inner(archive, cache, fso):
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)
Expand Down

0 comments on commit 4abc7f1

Please # to comment.