summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-04 17:56:49 +0900
committerShinya Maeda <shinya@gitlab.com>2017-12-06 15:53:59 +0900
commit6e343b27bfb993b2c19dd4b4fd8d2b48747fbac3 (patch)
treec44165535bd71c1017f610186105293fba413022 /app/services/ci
parent8917726bb5e6746750129c0d9322c2daa7f88172 (diff)
downloadgitlab-ce-6e343b27bfb993b2c19dd4b4fd8d2b48747fbac3.tar.gz
Use Class.new(StandardError) instead of custom extended error class. Bring back specified_dependencies?.
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/register_job_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb
index f73902935e6..c8b6450c9b5 100644
--- a/app/services/ci/register_job_service.rb
+++ b/app/services/ci/register_job_service.rb
@@ -54,7 +54,7 @@ module Ci
# we still have to return 409 in the end,
# to make sure that this is properly handled by runner.
valid = false
- rescue Gitlab::Ci::Error::MissingDependencies
+ rescue Ci::Build::MissingDependenciesError
build.drop!(:missing_dependency_failure)
valid = false
end