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
path: root/gems
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 18:10:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 18:10:53 +0300
commit8f3a9dbb94b5a9ae4570a22bbc2a75e7572407c8 (patch)
tree0d7e5d6d5747b57a93df1181bd86a7a127c16934 /gems
parent7344cec8c24f1599086498ba19096cf9918ee168 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems')
-rw-r--r--gems/gitlab-http/lib/gitlab/http_v2/new_connection_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gems/gitlab-http/lib/gitlab/http_v2/new_connection_adapter.rb b/gems/gitlab-http/lib/gitlab/http_v2/new_connection_adapter.rb
index ee4be97dc6d..6a1f1f0f5e3 100644
--- a/gems/gitlab-http/lib/gitlab/http_v2/new_connection_adapter.rb
+++ b/gems/gitlab-http/lib/gitlab/http_v2/new_connection_adapter.rb
@@ -62,7 +62,7 @@ module Gitlab
def validate_url_with_proxy!(url)
UrlBlocker.validate_url_with_proxy!(url, **url_blocker_options)
rescue UrlBlocker::BlockedUrlError => e
- raise HTTP_V2::BlockedUrlError, "URL is blocked: #{e.message}"
+ raise BlockedUrlError, "URL is blocked: #{e.message}"
end
def url_blocker_options