Commit 5c15c52
committed
NV-4462 Surface the demo scan's error output on failure
The scan step redirects stdout to scan-results.txt (its first line feeds the
SARIF export), which also swallows any scan error, so a failed scan ends the
step with exit 1 and no diagnostic. Wrap the scan so that on failure it prints
the captured output and then fails, making credential/target/connectivity
errors visible in the Actions log instead of opaque.1 parent 5629003 commit 5c15c52
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments