Skip to content

Commit

Permalink
fix: minor review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Sep 16, 2021
1 parent dc1271e commit 10549ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bee/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (c *command) initStartCmd() (err error) {
for _, p := range c.config.GetStringSlice(optionNameStaticNodes) {
addr, err := swarm.ParseHexAddress(p)
if err != nil {
return errors.New("invalid swarm address configured for static node")
return fmt.Errorf("invalid swarm address %q configured for static node", p)
}

staticNodes = append(staticNodes, addr)
Expand Down

0 comments on commit 10549ad

Please sign in to comment.