add spaces for missing snapshot, fixes #45
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
65686cd891
commit
0c587ac926
|
@ -259,9 +259,9 @@ def list_files(snapshot, path):
|
||||||
output = restic.internal.command_executor.execute(cmd)
|
output = restic.internal.command_executor.execute(cmd)
|
||||||
except ResticFailedError as error:
|
except ResticFailedError as error:
|
||||||
if 'no snapshot found' in str(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:
|
if SERVICE:
|
||||||
err_msg += f'for the app {SERVICE}'
|
err_msg += f' for the app "{SERVICE}"'
|
||||||
logger.error(err_msg)
|
logger.error(err_msg)
|
||||||
exit(1)
|
exit(1)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue