summaryrefslogtreecommitdiff
path: root/app/controllers/projects/pipelines_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-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