Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-01 18:09:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-01 18:09:28 +0300
commit893ba862a7808ac7099c0d5c6d6ad618ae4e2665 (patch)
tree1465b217b3111ddc7b0120bdbbce2ebc377f42fa /lib/gitlab/checks
parent7b2635a55d4e87431bae752bd44c6fd2d2657b03 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r--lib/gitlab/checks/snippet_check.rb4
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