summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 16:34:42 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 16:48:27 -0500
commitbf4dc75801176c95b49763ff6ab5e03305c91f73 (patch)
tree213e775f27af7534af0f0a5c2306e6f877779087 /app/controllers
parent003526e2ee408bc6be3596436288213cc57d1bcd (diff)
downloadgitlab-ce-bf4dc75801176c95b49763ff6ab5e03305c91f73.tar.gz
Improve the pipelines design
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/pipelines_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb
index 78b85ea9a71..19071cc9e43 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -25,7 +25,7 @@ class Projects::PipelinesController < Projects::ApplicationController
flash[:alert] = e.message
render 'new'
rescue
- flash[:alert] = 'Undefined error'
+ flash[:alert] = 'The pipeline could not be created. Please try again.'
render 'new'
end
end