Skip to content

Commit

Permalink
Do not ignore NewNodePayloadResolver error
Browse files Browse the repository at this point in the history
  • Loading branch information
george-dorin committed Jan 23, 2024
1 parent 3ee7f30 commit 9c0a2fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/web/resolver/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ func (r *Resolver) Node(ctx context.Context, args struct{ ID graphql.ID }) (*Nod
}

r.App.GetLogger().Errorw("resolver getting node status", "err", chains.ErrNotFound)
npr, _ := NewNodePayloadResolver(nil, chains.ErrNotFound)
return npr, nil
return NewNodePayloadResolver(nil, chains.ErrNotFound)
}

func (r *Resolver) P2PKeys(ctx context.Context) (*P2PKeysPayloadResolver, error) {
Expand Down

0 comments on commit 9c0a2fe

Please sign in to comment.