fix rescue block on migration
This commit is contained in:
parent
d59f0d90e4
commit
e60d5f9188
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue