Commit ae4d9b4
Log audit errors when fail_upon_any_scanner_error is disabled (#1352)
* Log underlying scanner errors when partial results are allowed.
When fail_upon_any_scanner_error is disabled, frogbot continued without failing but only logged a generic warning, hiding the audit error that support needs to diagnose failures.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Use %v when logging scanner errors in partial-results path.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Avoid logging fix errors twice in partial-results path.
The fix-vulnerabilities call site already embedded err in messageForLog;
CreateErrorIfFailUponScannerErrorEnabled now appends the error separately.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 956ef69 commit ae4d9b4
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
0 commit comments