Skip to content

Commit 9cad6a5

Browse files
committed
Update cli.py
1 parent 4ebe16a commit 9cad6a5

File tree

1 file changed

+2
-1
lines changed
  • src/restic_compose_backup

1 file changed

+2
-1
lines changed

src/restic_compose_backup/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ def start_backup_process(config, containers):
143143
vol_result = restic.backup_files(config.repository, source='/volumes')
144144
logger.debug('Volume backup exit code: %s', vol_result)
145145
if vol_result != 0:
146-
logger.error('Backup command exited with non-zero code: %s', vol_result)
146+
logger.error('Volume backup exited with non-zero code: %s', vol_result)
147147
errors = True
148148
except Exception as ex:
149+
logger.error('Exception raised during volume backup')
149150
logger.exception(ex)
150151
errors = True
151152

0 commit comments

Comments
 (0)