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:
parent
6351747da5
commit
23e7f27ee4
1 changed files with 1 additions and 3 deletions
|
@ -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))
|
error_logs = tuple(result for result in results if isinstance(result, logging.LogRecord))
|
||||||
|
|
||||||
if error_logs:
|
if error_logs:
|
||||||
yield from log_error_records(
|
yield from log_error_records('{}: An error occurred'.format(config_filename))
|
||||||
'{}: Error running configuration file'.format(config_filename)
|
|
||||||
)
|
|
||||||
yield from error_logs
|
yield from error_logs
|
||||||
else:
|
else:
|
||||||
yield logging.makeLogRecord(
|
yield logging.makeLogRecord(
|
||||||
|
|
Loading…
Reference in a new issue