Closed matthewp closed 8 years ago
This updates the Promise wrapping to properly handle rejection chains. If some code throws a string we should wrap it in an Error and rethrow it. This fixes a bug where System.imports that are rejected were not having their rejection bubble up.
System.import
This updates the Promise wrapping to properly handle rejection chains. If some code throws a string we should wrap it in an Error and rethrow it. This fixes a bug where
System.import
s that are rejected were not having their rejection bubble up.