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
sendEIAToProxy is called, even if importKey has failed. (If this is intended behaviour, just ignore this issue :).) Thats because the first error handler returns undefined, which ends up in a resolved promise being returned at the end of line 97, which leads to execution of success handler (sendEIAToProxy).
sendEIAToProxy
is called, even ifimportKey
has failed. (If this is intended behaviour, just ignore this issue :).) Thats because the first error handler returns undefined, which ends up in a resolved promise being returned at the end of line 97, which leads to execution of success handler (sendEIAToProxy).spresso/idp/static/ld.html
Line 98 in 7bc29bc
To mitigate this, you could:
.catch(errorHandler)
(not Promise/A+ compliant).then(null, errorHandler)
at the end of the then chain.
One line of code tells more than any prosa:
Its recommended to always have a final error handler at the end. This prevents possibly uncaught promise rejections.
The text was updated successfully, but these errors were encountered: