Closed gabrielbiga closed 9 months ago
@gabrielbiga Thank you so much for the correction here. You are right. Error throws inside a separate function will not be caught by the general catch of the promise. I have added a small addendum to your fix and accepted the pull request.
This commit aims to fix an error handling issue on docx decompress stage.
When the file has some corruption, the library throws an error that is impossible to handle via the
.catch
public promise, crashing the entire application.