diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-09 09:11:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-09 09:11:13 +0300 |
commit | 8602c599660974a47ad705fd5cc3f97cd37b1a0f (patch) | |
tree | 451721cd0674fed36623311434aedfcee19a882d /app/models/repository.rb | |
parent | c860067451498253f56d70919bb01727a057184c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
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 |