Commit 15e5305
kernelci: config: reduce noise during config parsing
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
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>1 parent 0cadb3b commit 15e5305
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| |||
0 commit comments