diff --git a/backupbot.py b/backupbot.py index c6a4eaa..8b56c40 100755 --- a/backupbot.py +++ b/backupbot.py @@ -259,9 +259,9 @@ def list_files(snapshot, path): output = restic.internal.command_executor.execute(cmd) except ResticFailedError as error: if 'no snapshot found' in str(error): - err_msg = f'There is no snapshot {snapshot}' + err_msg = f'There is no snapshot "{snapshot}"' if SERVICE: - err_msg += f'for the app {SERVICE}' + err_msg += f' for the app "{SERVICE}"' logger.error(err_msg) exit(1) else: