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>2021-09-09 09:11:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-09 09:11:13 +0300
commit8602c599660974a47ad705fd5cc3f97cd37b1a0f (patch)
tree451721cd0674fed36623311434aedfcee19a882d /app/models/repository.rb
parentc860067451498253f56d70919bb01727a057184c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index fdb33008a8b..07d9bcb9368 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -632,7 +632,9 @@ class Repository
return if licensee_object.name.blank?
licensee_object
- rescue Licensee::InvalidLicense
+ rescue Licensee::InvalidLicense => ex
+ Gitlab::ErrorTracking.track_exception(ex)
+ nil
end
memoize_method :license