Skip to content

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Oct 8, 2025

When loading configuration files for the first time, the current job isn't configured yet and we're missing important params such as the target architecture. However, we try to parse and format every single string from the config, leading to numerous errors being printed to the console.

As those are KeyError exceptions, we should process them separately and only print a message for other types of exceptions.

Fixes #2988

When loading configuration files for the first time, the current job
isn't configured yet and we're missing important params such as the
target architecture. However, we try to parse and format every single
string from the config, leading to numerous errors being printed to the
console.

As those are `KeyError` exceptions, we should process them separately
and only print a message for other types of exceptions.

Fixes kernelci#2988

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: many error message appear in the CLI tools output
1 participant