diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-04 11:56:49 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-06 09:53:59 +0300 |
commit | 6e343b27bfb993b2c19dd4b4fd8d2b48747fbac3 (patch) | |
tree | c44165535bd71c1017f610186105293fba413022 /app/services | |
parent | 8917726bb5e6746750129c0d9322c2daa7f88172 (diff) |
Use Class.new(StandardError) instead of custom extended error class. Bring back specified_dependencies?.
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/register_job_service.rb | 2 |
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 |