• Avielle Wolfe's avatar
    Fix GRPC 500 from BlobsResolver · 8eb9f47a
    Avielle Wolfe authored
    Passing an invalid ref into the BlobsResolver was resulting in a 500
    because of a GRPC::InvalidArgument error raised from Gitaly. This commit
    instead checks that the ref is valid and raises a GraphQL ArgumentError
    if it is not, which will be properly returned to the client by GraphQL.
    
    Changelog: fixed
    8eb9f47a
blobs_resolver_spec.rb 2.58 KB