From 01b2bc582b59f59884897870ca0bc04a596476ff Mon Sep 17 00:00:00 2001 From: moonD4rk Date: Sun, 30 Oct 2022 12:58:35 +0800 Subject: [PATCH] fix: handle err run binary failed --- cmd/hack-browser-data/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/hack-browser-data/main.go b/cmd/hack-browser-data/main.go index fbe7298..0c85c01 100644 --- a/cmd/hack-browser-data/main.go +++ b/cmd/hack-browser-data/main.go @@ -1,7 +1,6 @@ package main import ( - glog "log" "os" "strings" @@ -70,6 +69,6 @@ func Execute() { } err := app.Run(os.Args) if err != nil { - glog.Fatal(err) + panic(err) } }