diff --git a/src/restic_compose_backup/cli.py b/src/restic_compose_backup/cli.py index 0e7c174..db6e9b6 100644 --- a/src/restic_compose_backup/cli.py +++ b/src/restic_compose_backup/cli.py @@ -143,9 +143,10 @@ def start_backup_process(config, containers): vol_result = restic.backup_files(config.repository, source='/volumes') logger.debug('Volume backup exit code: %s', vol_result) if vol_result != 0: - logger.error('Backup command exited with non-zero code: %s', vol_result) + logger.error('Volume backup exited with non-zero code: %s', vol_result) errors = True except Exception as ex: + logger.error('Exception raised during volume backup') logger.exception(ex) errors = True