Skip to content

Prevent from unhandled promise rejection durning workbook load#1087

Merged
alubbe merged 1 commit intoexceljs:masterfrom
sohai:master
Jan 21, 2020
Merged

Prevent from unhandled promise rejection durning workbook load#1087
alubbe merged 1 commit intoexceljs:masterfrom
sohai:master

Conversation

@sohai
Copy link

@sohai sohai commented Jan 21, 2020

Since #829 StreamBuf.write returns Promise, that leads to unhandled promise rejection in Workbook.load because ZipStream.writedo not expect StreamBuf.write to return Promise.

@alubbe alubbe merged commit 020cb99 into exceljs:master Jan 21, 2020
@alubbe
Copy link
Member

alubbe commented Jan 21, 2020

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants