diff options
Diffstat (limited to 'app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb')
-rw-r--r-- | app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb b/app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb index b2dfded0280..029d38d8b93 100644 --- a/app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb +++ b/app/workers/gitlab/github_import/stage/import_pull_requests_worker.rb @@ -8,7 +8,6 @@ module Gitlab data_consistency :always - sidekiq_options retry: 3 include GithubImport::Queue include StageMethods @@ -33,16 +32,6 @@ module Gitlab { waiter.key => waiter.jobs_remaining }, :collaborators ) - rescue StandardError => e - Gitlab::Import::ImportFailureService.track( - project_id: project.id, - error_source: self.class.name, - exception: e, - fail_import: abort_on_failure, - metrics: true - ) - - raise(e) end private @@ -57,10 +46,6 @@ module Gitlab MergeRequest.track_target_project_iid!(project, last_github_pull_request[:number]) end - - def abort_on_failure - true - end end end end |