fix: init log error

pull/171/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
parent b52627afc7
commit 9976fe0ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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)
}
}

Loading…
Cancel
Save