From 76893705a1df96909da44ab3c99816fd12129206 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 4 Jan 2022 12:13:46 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/services/auth/container_registry_authentication_service.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/services/auth/container_registry_authentication_service.rb') 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 ## -- cgit v1.2.3