Commit 4e0bc17
committed
fix: log better error in get_distributions
Log a better error message when JSON de-serialization fails in
`BuildEnvironment.get_distribution()` call.
Do not fail when debug log call with installed distributions is failing.
The error is not fatal.
Signed-off-by: Christian Heimes <cheimes@redhat.com>1 parent 2b93a1f commit 4e0bc17
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
241 | 244 | | |
242 | 245 | | |
243 | 246 | | |
| |||
296 | 299 | | |
297 | 300 | | |
298 | 301 | | |
299 | | - | |
300 | | - | |
301 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
302 | 309 | | |
303 | 310 | | |
304 | 311 | | |
| |||
0 commit comments