diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-04 15:13:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-04 15:13:46 +0300 |
commit | 76893705a1df96909da44ab3c99816fd12129206 (patch) | |
tree | e9ec48a022223fbdf7588a6e2bbafd5dff22903a /app/services/auth/container_registry_authentication_service.rb | |
parent | cb19d2b6a3b6becdede8d9398fbd17dedb99a8bf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/auth/container_registry_authentication_service.rb')
-rw-r--r-- | app/services/auth/container_registry_authentication_service.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb index ea4723c9e28..1d5acff162e 100644 --- a/app/services/auth/container_registry_authentication_service.rb +++ b/app/services/auth/container_registry_authentication_service.rb @@ -145,6 +145,9 @@ module Auth # we'll remove them manually from this deny list, and their new repositories will become eligible. Feature.disabled?(:container_registry_migration_phase1_deny, project.root_ancestor) && Feature.enabled?(:container_registry_migration_phase1_allow, project) + rescue ContainerRegistry::Path::InvalidRegistryPathError => ex + Gitlab::ErrorTracking.track_and_raise_for_dev_exception(ex, **Gitlab::ApplicationContext.current) + false end ## |