Skip to content

Commit

Permalink
Fix relay issue printing help message
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 authored and hkalodner committed Aug 25, 2022
1 parent 6fd545a commit adae5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/relay/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func startup() error {
if err != nil || len(relayConfig.Node.Feed.Input.URLs) == 0 || relayConfig.Node.Feed.Input.URLs[0] == "" || relayConfig.L2.ChainId == 0 {
fmt.Printf("\nrevision: %v, vcs.time: %v\n", vcsRevision, vcsTime)
printSampleUsage()
if !strings.Contains(err.Error(), "help requested") {
if err != nil && !strings.Contains(err.Error(), "help requested") {
fmt.Printf("%s\n", err.Error())
}

Expand Down

0 comments on commit adae5d0

Please sign in to comment.