NoMethodError: undefined method `error' for #<Import::ValidateRemoteGitEndpointService:0x00007fe2e6106320>
https://sentry.gitlab.net/gitlab/gitlabcom/issues/2821181/?referrer=gitlab_plugin
NoMethodError: undefined method `error' for #<Import::ValidateRemoteGitEndpointService:0x00007fe2e6106320>
app/services/import/validate_remote_git_endpoint_service.rb:24:in `execute'
return error("Invalid URL") unless uri
app/controllers/import/url_controller.rb:7:in `validate'
result = Import::ValidateRemoteGitEndpointService.new(validate_params).execute
app/controllers/application_controller.rb:497:in `set_current_admin'
return yield unless Gitlab::CurrentSettings.admin_mode
lib/gitlab/session.rb:11:in `with_session'
yield
app/controllers/application_controller.rb:488:in `set_session_storage'
Gitlab::Session.with_session(session, &block)
...
(138 additional frame(s) were not displayed)