From c45a59549a04f3632d609909e51b1e16f70a82f8 Mon Sep 17 00:00:00 2001 From: Johnny Date: Mon, 12 Jan 2026 23:36:48 +0800 Subject: [PATCH] fix: replace os.Exit with panic for clearer error handling --- store/test/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/test/main_test.go b/store/test/main_test.go index ad6bb80ca..5c4e19274 100644 --- a/store/test/main_test.go +++ b/store/test/main_test.go @@ -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