Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure to capture and rethrow errors from image layer parsing
Right now any errors that occur during image layer parsing are not properly caught (because they occur either in an async or EventEmitter context) and result in uncaught exceptions. One of these places is the Go binaries parser, which we now properly try-catch and reject the promise that wraps it. Additionally we need to try-catch the image layer parsing process as a whole, which was missing before.
- Loading branch information
1 parent
4b2b142
commit aca5829
Showing
3 changed files
with
78 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters