print validation errors when import fails

This commit is contained in:
Bastian Krol 2014-07-09 14:49:53 +02:00
parent 47d5ef4bd5
commit 239d942606
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ namespace :gitlab do
puts " * Created #{project.name} (#{repo_path})".green
else
puts " * Failed trying to create #{project.name} (#{repo_path})".red
puts " Validation Errors: #{project.errors.messages}".red
end
end
end