Commit 239d9426 authored by Bastian Krol's avatar Bastian Krol

print validation errors when import fails

parent 47d5ef4b
...@@ -72,6 +72,7 @@ namespace :gitlab do ...@@ -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
......
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