From 23e7f27ee4a74063d3a91bcf1a74defc63eec09a Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Wed, 22 Mar 2023 02:22:43 +0530 Subject: [PATCH] fix: rephrase error when running from config to avoid confusion, as the user might think the problem is with their config file --- borgmatic/commands/borgmatic.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index fe07981..fbea260 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -615,9 +615,7 @@ def collect_configuration_run_summary_logs(configs, arguments): error_logs = tuple(result for result in results if isinstance(result, logging.LogRecord)) if error_logs: - yield from log_error_records( - '{}: Error running configuration file'.format(config_filename) - ) + yield from log_error_records('{}: An error occurred'.format(config_filename)) yield from error_logs else: yield logging.makeLogRecord(