Merge pull request #177 from moonD4rk/fix/logbug

fix: handle error if run binary failed
pull/178/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
commit c47ca78fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .gitignore
  2. 2
      .golangci.yml
  3. 2
      cmd/hack-browser-data/main.go

2
.gitignore vendored

@ -190,4 +190,4 @@ result/
results/ results/
hack-browser-data hack-browser-data
!/hack-browser-data !/cmd/hack-browser-data

@ -64,4 +64,4 @@ issues:
linters: linters:
- 'unused' - 'unused'
max-issues-per-linter: 0 max-issues-per-linter: 0
max-same-issues: 0 max-same-issues: 0

@ -69,6 +69,6 @@ func Execute() {
} }
err := app.Run(os.Args) err := app.Run(os.Args)
if err != nil { if err != nil {
log.Error(err) panic(err)
} }
} }

Loading…
Cancel
Save