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

This commit is contained in:
Johnny 2026-01-12 23:36:48 +08:00
parent 69b62cccdb
commit c45a59549a
1 changed files with 1 additions and 1 deletions

View File

@ -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