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 committed by Paul Hoffmann
parent a241b8a38b
commit baec8acbf8
1 changed files with 1 additions and 3 deletions

View File

@ -626,9 +626,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(