summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-31 14:53:33 +0200
committerRobert Speicher <rspeicher@gmail.com>2016-06-02 21:48:26 -0400
commit097eafc8c74f97912a52399d422fb24be84e734d (patch)
tree746e9772ba5d1279b780b9fe492d3d5cf4a743f8 /app/services
parent64c3905523808942ac62b7ebfbce3634b6e9dc17 (diff)
downloadgitlab-ce-097eafc8c74f97912a52399d422fb24be84e734d.tar.gz
fix some issues and improved error output for forking
Diffstat (limited to 'app/services')
-rw-r--r--app/services/projects/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb
index b73389f0489..61cac5419ad 100644
--- a/app/services/projects/create_service.rb
+++ b/app/services/projects/create_service.rb
@@ -59,7 +59,7 @@ module Projects
if @project.errors.empty?
@project.add_import_job if @project.import?
else
- fail(error: @project.errors.join(', '))
+ fail(error: @project.errors.full_messages.join(', '))
end
@project
rescue => e