Skip to content

Commit

Permalink
Ignore node errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bynil committed Oct 29, 2019
1 parent efddb83 commit c80e4ff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,8 @@ func GenerateRenderParams(sp SearchParams) (rp RenderParams, err error) {

if sp.Node != "" {
nodeId, nodeErr := findNodeId(sp.Node)
if nodeErr != nil {
err = nodeErr
return
} else {
// ignore node error
if nodeErr == nil {
rp.NodeId = &nodeId
}
}
Expand Down

0 comments on commit c80e4ff

Please sign in to comment.