Skip to content

Commit 497a085

Browse files
kdinevCopilot
andauthored
Update projects/igniteui-angular/grids/core/src/services/excel/excel-exporter.ts
Co-authored-by: Copilot <[email protected]>
1 parent 44b5a17 commit 497a085

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

projects/igniteui-angular/grids/core/src/services/excel/excel-exporter.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,16 @@ export class IgxExcelExporterService extends IgxBaseExporter {
142142
this.exportEnded.emit({ xlsx: fileData });
143143
done();
144144
});
145+
}).catch((error) => {
146+
// Handle dynamic import failure
147+
console.error('Failed to load fflate module:', error);
148+
done();
145149
});
150+
})
151+
.catch((error) => {
152+
// Handle populateZipFileConfig failure
153+
console.error('Failed to populate zip file config:', error);
154+
done();
146155
});
147156
}
148157

0 commit comments

Comments
 (0)