diff options
Diffstat (limited to 'lib/gitlab/bitbucket_import/importers/pull_request_importer.rb')
-rw-r--r-- | lib/gitlab/bitbucket_import/importers/pull_request_importer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/importers/pull_request_importer.rb b/lib/gitlab/bitbucket_import/importers/pull_request_importer.rb index d76e08e1039..a18d50e8fce 100644 --- a/lib/gitlab/bitbucket_import/importers/pull_request_importer.rb +++ b/lib/gitlab/bitbucket_import/importers/pull_request_importer.rb @@ -5,6 +5,7 @@ module Gitlab module Importers class PullRequestImporter include Loggable + include ErrorTracking def initialize(project, hash) @project = project @@ -48,7 +49,7 @@ module Gitlab log_info(import_stage: 'import_pull_request', message: 'finished', iid: object[:iid]) rescue StandardError => e - Gitlab::Import::ImportFailureService.track(project_id: project.id, exception: e) + track_import_failure!(project, exception: e) end private |