Commit 11a3d114 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Stan Hu

Handle GRPC::NotFound in Gitaly tree_entry call

For https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3078, which is
planned for GitLab 14.0.
parent a6d5966a
......@@ -107,6 +107,8 @@ module Gitlab
entry.data = data.join
entry unless entry.oid.blank?
rescue GRPC::NotFound
nil
end
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