fix: replace os.Exit with panic for clearer error handling
This commit is contained in:
parent
69b62cccdb
commit
c45a59549a
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ func runAllDrivers() {
|
||||||
// strictly speaking we should probably fail, but let's be robust.
|
// 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.
|
// Actually, if build fails, tests relying on it will fail or try to rebuild.
|
||||||
// Let's exit to be clear.
|
// Let's exit to be clear.
|
||||||
os.Exit(1)
|
panic(fmt.Sprintf("failed to build docker image: %v", err))
|
||||||
}
|
}
|
||||||
|
|
||||||
var failed []string
|
var failed []string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue