Skip to content

Commit

Permalink
Merge pull request #39 from masben-mb/master
Browse files Browse the repository at this point in the history
Fix - The karlsenminer still shows a Go trace #38
  • Loading branch information
lemois-1337 committed Feb 13, 2024
2 parents 36ce697 + 8210c54 commit 28050a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/karlsenminer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func parseConfig() (*configFlags, error) {
}

if cfg.MiningAddr == "" {
return nil, errors.New("--miningaddr is required")
fmt.Fprintln(os.Stderr, errors.New("Error parsing command-line arguments: --miningaddr is required"))
os.Exit(1)
}

initLog(defaultLogFile, defaultErrLogFile)
Expand Down

0 comments on commit 28050a8

Please sign in to comment.