Commit 98723f6
committed
Log output of
* Remove the `-quiet` parameter
* Use `run_cmd_with_log_return_error` for logging the command output in the
error case
* Improve error messages in `run_cmd_with_log_return_error` to include the
program name so the error message is also useful on its own (without the
prior `Running cmd: …` message)
* Make `run_cmd_with_log_return_error` return the error message so it can
be passed as reason when using it to run `optipng`
* See https://progress.opensuse.org/issues/190920optipng when it fails1 parent a3a7f84 commit 98723f6
3 files changed
+11
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
| |||
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
317 | | - | |
318 | | - | |
| 318 | + | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| 341 | + | |
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
| |||
345 | 347 | | |
346 | 348 | | |
347 | 349 | | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1249 | 1247 | | |
1250 | 1248 | | |
1251 | 1249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1242 | 1242 | | |
1243 | 1243 | | |
1244 | 1244 | | |
1245 | | - | |
1246 | | - | |
| 1245 | + | |
1247 | 1246 | | |
1248 | | - | |
1249 | | - | |
| 1247 | + | |
1250 | 1248 | | |
1251 | 1249 | | |
1252 | 1250 | | |
| |||
0 commit comments