Fix GRPC 500 from BlobsResolver
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
Showing
Please register or sign in to comment