Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastian Krol <bastian.krol@web.de>2014-07-09 16:49:53 +0400
committerBastian Krol <bastian.krol@web.de>2014-07-09 16:49:53 +0400
commit239d942606bd35d90c4546eb7b0fd530baf00a05 (patch)
tree7d5eddbef549aedc759726a573c8403923fef8b5 /lib/tasks/gitlab/import.rake
parent47d5ef4bd54ac493a35d190d0909059b6e35c0fe (diff)
print validation errors when import fails
Diffstat (limited to 'lib/tasks/gitlab/import.rake')
-rw-r--r--lib/tasks/gitlab/import.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
index cbfa736c84c..d38c7a59431 100644
--- a/lib/tasks/gitlab/import.rake
+++ b/lib/tasks/gitlab/import.rake
@@ -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