fix: replace os.Exit with panic for clearer error handling

pull/5503/head
Johnny 5 months ago
parent 69b62cccdb
commit c45a59549a

@ -38,7 +38,7 @@ func runAllDrivers() {
// strictly speaking we should probably fail, but let's be robust.
// Actually, if build fails, tests relying on it will fail or try to rebuild.
// Let's exit to be clear.
os.Exit(1)
panic(fmt.Sprintf("failed to build docker image: %v", err))
}
var failed []string

Loading…
Cancel
Save