From 9cad6a5c712c9144b32c21598771b0d235ea8f32 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Fri, 6 Dec 2019 09:08:48 +0100 Subject: [PATCH] Update cli.py --- src/restic_compose_backup/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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