diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 18157d9edd..ae2365aee4 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -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)