diff --git a/src/importers/baseImporter.ts b/src/importers/baseImporter.ts index ca642666cf..b70a566a59 100644 --- a/src/importers/baseImporter.ts +++ b/src/importers/baseImporter.ts @@ -80,8 +80,10 @@ export abstract class BaseImporter { }); if (result.errors != null && result.errors.length > 0) { result.errors.forEach((e) => { - // tslint:disable-next-line - console.warn('Error parsing row ' + e.row + ': ' + e.message); + if (e.row != null) { + // tslint:disable-next-line + console.warn('Error parsing row ' + e.row + ': ' + e.message); + } }); } return result.data && result.data.length > 0 ? result.data : null;