diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb
index d5287c69e6e014183fbbfc4d8101524d68711819..7d2f92d577a426a3435fd9ac278c0ce3c91d2103 100644
--- a/lib/gitlab/bitbucket_import/importer.rb
+++ b/lib/gitlab/bitbucket_import/importer.rb
@@ -79,13 +79,13 @@ module Gitlab
               created_at: issue.created_at,
               updated_at: issue.updated_at
             )
+
+            gitlab_issue.labels << @labels[label_name]
+
+            import_issue_comments(issue, gitlab_issue) if gitlab_issue.persisted?
           rescue StandardError => e
             errors << { type: :issue, iid: issue.iid, errors: e.message }
           end
-
-          gitlab_issue.labels << @labels[label_name]
-
-          import_issue_comments(issue, gitlab_issue) if gitlab_issue.persisted?
         end
       end