diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-29 00:08:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-29 00:08:56 +0300 |
commit | c1924b863ad66503edbaa3325949bce6b023b737 (patch) | |
tree | d6ab8e583d5cdb0849e10677c6223f4efbeca993 /lib/gitlab/cache | |
parent | 6315ed9630fb1c6ade3114beb762cd1568d79219 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/cache')
-rw-r--r-- | lib/gitlab/cache/ci/project_pipeline_status.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/cache/ci/project_pipeline_status.rb b/lib/gitlab/cache/ci/project_pipeline_status.rb index ea7013db2ce..e7a7d23ef7e 100644 --- a/lib/gitlab/cache/ci/project_pipeline_status.rb +++ b/lib/gitlab/cache/ci/project_pipeline_status.rb @@ -59,6 +59,10 @@ module Gitlab end self.loaded = true + rescue GRPC::Unavailable, GRPC::DeadlineExceeded => e + # Handle Gitaly connection issues gracefully + Gitlab::ErrorTracking + .track_exception(e, project_id: project.id) end def load_from_project |