diff options
author | James Lopez <james@jameslopez.es> | 2016-05-27 17:20:15 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-27 17:20:15 +0200 |
commit | e60d5f91884cad68690282dd97b492d665f41b81 (patch) | |
tree | 061104e68712957dff89947c023022d2bcce9b97 /db | |
parent | d59f0d90e4eb2feff510cd7fb344e46b0286a1df (diff) | |
download | gitlab-ce-e60d5f91884cad68690282dd97b492d665f41b81.tar.gz |
fix rescue block on migration
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb index 561c18a5776..6aed0fe03d2 100644 --- a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb +++ b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb @@ -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 |