Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
testinginprod and coderabbitai[bot] authored Oct 2, 2024
1 parent cc9aab4 commit a79efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/v2/api/grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func makeUnknownServiceHandler(handlers map[string]appmodulev2.Handler, querier
// if this fails we cannot serve queries anymore...
registry, err := getRegistry()
if err != nil {
return err
return fmt.Errorf("failed to get registry: %w", err)
}
fullName := protoreflect.FullName(strings.ReplaceAll(method, "/", "."))
// get descriptor from the invoke method
Expand Down

0 comments on commit a79efec

Please sign in to comment.