We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34b330 commit a694200Copy full SHA for a694200
actions/socket-export-sbom/main.go
@@ -138,5 +138,9 @@ func main() {
138
}
139
log.Printf("Last scan id for %s is %s", repo, id)
140
log.Printf("exporting sbom to %s", output)
141
- client.ExportSBOM(id, output)
+ err = client.ExportSBOM(id, output)
142
+ if err != nil {
143
+ log.Printf("ERROR: failed to export SBOM: %s\n", err)
144
+ os.Exit(1)
145
+ }
146
0 commit comments