Răsfoiți Sursa

fix: rephrase error when running from config

to avoid confusion, as the user might think the problem is with their config file
Divyansh Singh 2 ani în urmă
părinte
comite
23e7f27ee4
1 a modificat fișierele cu 1 adăugiri și 3 ștergeri
  1. 1 3
      borgmatic/commands/borgmatic.py

+ 1 - 3
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(