forked from sass/node-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code: Don't throw from interim callback state.
Lets the error propagate to libsass. This goes against the concept of fast aborting, but this way downstream user will not get a blunt exception, but receive a well-formatted JSON error. Note: this exception from importer callback's post-process handler cannot be captured by try- catch. The edit in binding.cpp is also required, because those conditions will never get satisfied anyway. Removed due to aforementioned reasons.
- Loading branch information
Showing
2 changed files
with
3 additions
and
9 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