-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoiding swallowing errors that arise in exported functions (#674)
Similar to the main (`_start`) case, `eval_with_options` returns a promise, which, needs to be explicitly inspected in order to retrieve any values or any unhandled errors. This commit ensures that the behaviour is the right one by inspecting the underlying promise.
- Loading branch information
1 parent
21e7c97
commit ef05dbd
Showing
2 changed files
with
36 additions
and
3 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