Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
projects.thm.de
GitLab
Commits
e60d5f91
Commit
e60d5f91
authored
May 27, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rescue block on migration
parent
d59f0d90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG
CHANGELOG
+1
-0
db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb
...e/20160302152808_remove_wrong_import_url_from_projects.rb
+1
-1
No files found.
CHANGELOG
View file @
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
...
...
db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb
View file @
e60d5f91
...
...
@@ -28,7 +28,7 @@ def process_projects_with_wrong_url
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment