diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-01 18:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-01 18:09:28 +0300 |
commit | 893ba862a7808ac7099c0d5c6d6ad618ae4e2665 (patch) | |
tree | 1465b217b3111ddc7b0120bdbbce2ebc377f42fa /lib/gitlab/checks/snippet_check.rb | |
parent | 7b2635a55d4e87431bae752bd44c6fd2d2657b03 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/checks/snippet_check.rb')
-rw-r--r-- | lib/gitlab/checks/snippet_check.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/checks/snippet_check.rb b/lib/gitlab/checks/snippet_check.rb index 8c61b782baa..54aee7f6ef7 100644 --- a/lib/gitlab/checks/snippet_check.rb +++ b/lib/gitlab/checks/snippet_check.rb @@ -26,6 +26,10 @@ module Gitlab end true + rescue GitAccess::ForbiddenError => e + Gitlab::ErrorTracking.log_exception(e, default_branch: @default_branch, branch_name: @branch_name, creation: creation?, deletion: deletion?) + + raise e end private |