-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dust does not propagate thrown errors from a helper if async onLoad is used #481
Comments
I believe I fixed this in #495, could you confirm? I tried to repro and see:
|
Great! That output indicates that the problem I was seeing is fixed. |
Great, thanks for taking the time to take a peek. |
Is there anything I need to enable to make this work? I'm using v2.6.2 and errors are still being swallowed. |
Could you provide an example of your code that results in no error? |
Not at the moment, it's all tangled up with other code. I tried both |
Recently error propagation was fixed for most asynchronous cases (see #471). However, this still leaves open the possibility of losing failures in onLoad. The following is a copy of details from #471 (comment).
Here's an example:
The chrome console shows an empty chunk followed by an uncaught error:
For now we have disabled onLoad for our use cases, but we'd like to re-enable it once it is safe.
The text was updated successfully, but these errors were encountered: