summaryrefslogtreecommitdiff
path: root/app/presenters/commit_status_presenter.rb
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-05-24 15:06:58 -0500
committerMayra Cabrera <mcabrera@gitlab.com>2018-05-24 15:14:28 -0500
commit0bc9e0b4feb746f1b9fe233bfbb6e9afd70e0b98 (patch)
treeb90da44160f55716df9574000ed944a91935f40f /app/presenters/commit_status_presenter.rb
parentba58a66a55e2270eb46f7429e070d16f77d25b9d (diff)
downloadgitlab-ce-0bc9e0b4feb746f1b9fe233bfbb6e9afd70e0b98.tar.gz
Removes redundant error message for script failures
Script failure message was redundant so it was removed. Also 'check your job log' message was removed from all the error messages. Closes #44271
Diffstat (limited to 'app/presenters/commit_status_presenter.rb')
-rw-r--r--app/presenters/commit_status_presenter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb
index c7f7aa836bd..9a7aaf4ef32 100644
--- a/app/presenters/commit_status_presenter.rb
+++ b/app/presenters/commit_status_presenter.rb
@@ -1,11 +1,10 @@
class CommitStatusPresenter < Gitlab::View::Presenter::Delegated
CALLOUT_FAILURE_MESSAGES = {
unknown_failure: 'There is an unknown failure, please try again',
- script_failure: 'There has been a script failure. Check the job log for more information',
api_failure: 'There has been an API failure, please try again',
stuck_or_timeout_failure: 'There has been a timeout failure or the job got stuck. Check your timeout limits or try again',
runner_system_failure: 'There has been a runner system failure, please try again',
- missing_dependency_failure: 'There has been a missing dependency failure, check the job log for more information'
+ missing_dependency_failure: 'There has been a missing dependency failure'
}.freeze
presents :build