Commit 322464ea authored by Robert Speicher's avatar Robert Speicher Committed by Yorick Peterse

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
parent 0591d06b
......@@ -7,6 +7,8 @@ v 8.8.3
- Fixed potential issue with 2 ci status polling events happening. !3869
- Improve design of Pipeline View. !4230
- Fix gitlab importer failing to import new projects due to missing credentials. !4301
- 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