Commit f9bb9151 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix/migration-uri-issue' into 'master'

Fix import URL migration error

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17956

See merge request !4321
parents 051b2bfa e60d5f91
......@@ -15,6 +15,7 @@ v 8.9.0 (unreleased)
v 8.8.3
- Fix gitlab importer failing to import new projects due to missing credentials
- Fix import URL migration not rescuing with the correct Error
v 8.8.2
- Added remove due date button. !4209
......
......@@ -28,7 +28,7 @@ class RemoveWrongImportUrlFromProjects < ActiveRecord::Migration
update_import_url(import_url, project)
update_import_data(import_url, project)
rescue URI::InvalidURIError
rescue Addressable::URI::InvalidURIError
nullify_import_url(project)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment