Skip to content
Snippets Groups Projects
Commit 239d9426 authored by Bastian Krol's avatar Bastian Krol
Browse files

print validation errors when import fails

parent 47d5ef4b
Branches
Tags
1 merge request!147print validation errors when gitlab-rake gitlab:import:repos fails for project
Loading
@@ -72,6 +72,7 @@ namespace :gitlab do
Loading
@@ -72,6 +72,7 @@ namespace :gitlab do
puts " * Created #{project.name} (#{repo_path})".green puts " * Created #{project.name} (#{repo_path})".green
else else
puts " * Failed trying to create #{project.name} (#{repo_path})".red puts " * Failed trying to create #{project.name} (#{repo_path})".red
puts " Validation Errors: #{project.errors.messages}".red
end end
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment