-
Notifications
You must be signed in to change notification settings - Fork 124
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
UnhandledPromiseRejectionWarning #79
Comments
seems node related, I don't get the warning with node v4.6.2 |
Node v6 added this warning if a rejection handler is not present within a tick or two of the promise existing. I'm not sure how to fix this one, though. |
I created an issue for the above. There is a missing |
Additional recommendation: Allow us to set the implementation of |
@SimonSchick please submit a separate issue (or better yet, PR) for the promise enhancement. As for the broken promise chain in decrypt ... working on a fix now. |
@linuxwolf Release when? |
working on that now |
Node Version: v6.6.0
node-jose: 0.9.1
I have trouble handling malformed data errors with JWE decryption.
Example Code:
This prints:
I can't figure out why this triggers a UnhandledPromiseRejectionWarning? The returned promise should already be rejected at the
JSON.parse
.The text was updated successfully, but these errors were encountered: