Skip to content

Commit 01b2bc5

Browse files
committed
fix: handle err run binary failed
1 parent 20fdd7a commit 01b2bc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/hack-browser-data/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

33
import (
4-
glog "log"
54
"os"
65
"strings"
76

@@ -70,6 +69,6 @@ func Execute() {
7069
}
7170
err := app.Run(os.Args)
7271
if err != nil {
73-
glog.Fatal(err)
72+
panic(err)
7473
}
7574
}

0 commit comments

Comments
 (0)