From 1011cf5e66b18a8d88552ae840f86b1219dbefa1 Mon Sep 17 00:00:00 2001 From: Callan Bryant Date: Tue, 3 Mar 2020 23:11:54 +0000 Subject: [PATCH] use ExitFail instead of panic --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 2aab3c1..ad22247 100644 --- a/util.go +++ b/util.go @@ -9,7 +9,7 @@ import ( func check(e error) { if e != nil { - panic(e) + ExitFail("%s", e) } }