660dcd5b7c
The importer would display a 500 error page if you attempted to import using a non-existent DNS entry. This commit rescues known network issues and consolidates them into BitbucketServer::Connection::ConnectionError`. The previous error handling in the paginator doesn't work because it returns a lazy collection. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56154 |
||
---|---|---|
.. | ||
bitbucket_controller_spec.rb | ||
bitbucket_server_controller_spec.rb | ||
fogbugz_controller_spec.rb | ||
gitea_controller_spec.rb | ||
github_controller_spec.rb | ||
gitlab_controller_spec.rb | ||
gitlab_projects_controller_spec.rb | ||
google_code_controller_spec.rb |