diff --git a/x-pack/plugins/file_upload/public/importer/geojson_importer/geojson_importer.ts b/x-pack/plugins/file_upload/public/importer/geojson_importer/geojson_importer.ts index b0028bbbed6cd..459c0bc64df38 100644 --- a/x-pack/plugins/file_upload/public/importer/geojson_importer/geojson_importer.ts +++ b/x-pack/plugins/file_upload/public/importer/geojson_importer/geojson_importer.ts @@ -196,7 +196,10 @@ export class GeoJsonImporter extends Importer { }); if (!this._isActive) { - break; + return { + success: false, + failures, + }; } if (retries < IMPORT_RETRIES) {