Commit c45a5954 authored by Johnny's avatar Johnny

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

parent 69b62ccc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment