From 9976fe0ea10b474c1373513454d8309ae64ec343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8D=E1=B4=8F=E1=B4=8F=C9=B4D4=CA=80=E1=B4=8B?= Date: Mon, 24 Oct 2022 14:19:29 +0800 Subject: [PATCH] fix: init log error --- cmd/hack-browser-data/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/hack-browser-data/main.go b/cmd/hack-browser-data/main.go index 16e4c86..fbe7298 100644 --- a/cmd/hack-browser-data/main.go +++ b/cmd/hack-browser-data/main.go @@ -1,6 +1,7 @@ package main import ( + glog "log" "os" "strings" @@ -69,7 +70,6 @@ func Execute() { } err := app.Run(os.Args) if err != nil { - log.Init("debug") - log.Error(err) + glog.Fatal(err) } }