-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix issue #1753 Reject promise when workbook reader is writing to temporary file stream and error occurs #1756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… to temporary file stream and error occurs
Why this one is still not merged? |
Hello hello @pauliusg , for quite a long time none of the maintainers had enough time to properly take care of this project. Especially since it is being created voluntarily in their free time. Thank you very much for your contribution, and I will try to merge this PR as soon as possible. Have a nice day! :) |
@Siemienik thanks for response. It is good to know that project is still alive! Unfortunately I can't join you, but this PR is very simple one-liner to properly handle stream errors. More context is in issue: #1753 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really appreciate your contribution, thank you :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
Fixes issue #1753
Workbook code which is creating temporary file by using write stream is not watching for error event, so in case of error promise was not resolved and code stays in hanging state.