You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hasStacks logic at q.js#L86 could throw an Error, causing the module to fail to load. This can happen when something has overridden Error.prepareStackTrace() with a function that might throw. Although it looks like a property, e.stack will actually evaluate Error.prepareStackTrace() (and cache the result).
The solution is probably to surround e.stack in a try/catch.
The
hasStacks
logic at q.js#L86 could throw an Error, causing the module to fail to load. This can happen when something has overriddenError.prepareStackTrace()
with a function that might throw. Although it looks like a property,e.stack
will actually evaluateError.prepareStackTrace()
(and cache the result).The solution is probably to surround
e.stack
in atry/catch
.A real example with more details can be found at jashkenas/coffeescript#4391.
The text was updated successfully, but these errors were encountered: