fix: rephrase error when running from config

to avoid confusion, as the user might think the problem is with their config file
This commit is contained in:
Divyansh Singh 2023-03-22 02:22:43 +05:30
parent 6351747da5
commit 23e7f27ee4
1 changed files with 1 additions and 3 deletions

View File

@ -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(