Commit 33773ffe authored by Stan Hu's avatar Stan Hu

Merge branch 'handle-grpc-not-found-in-gitaly-tree-entry' into 'master'

Handle GRPC::NotFound in Gitaly tree_entry call

See merge request gitlab-org/gitlab!57179
parents e1259710 11a3d114
...@@ -107,6 +107,8 @@ module Gitlab ...@@ -107,6 +107,8 @@ module Gitlab
entry.data = data.join entry.data = data.join
entry unless entry.oid.blank? entry unless entry.oid.blank?
rescue GRPC::NotFound
nil
end end
def tree_entries(repository, revision, path, recursive) def tree_entries(repository, revision, path, recursive)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment