diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-05-24 23:06:58 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-05-24 23:14:28 +0300 |
commit | 0bc9e0b4feb746f1b9fe233bfbb6e9afd70e0b98 (patch) | |
tree | b90da44160f55716df9574000ed944a91935f40f /app/serializers | |
parent | ba58a66a55e2270eb46f7429e070d16f77d25b9d (diff) |
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/serializers')
-rw-r--r-- | app/serializers/job_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/job_entity.rb b/app/serializers/job_entity.rb index 3076fed1674..30f0bda9418 100644 --- a/app/serializers/job_entity.rb +++ b/app/serializers/job_entity.rb @@ -54,7 +54,7 @@ class JobEntity < Grape::Entity end def failed? - build.failed? + build.failed? && !build.script_failure? end def callout_message |