mirror of https://github.com/usememos/memos.git
fix: replace os.Exit with panic for clearer error handling
This commit is contained in:
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…
Reference in New Issue