-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Where is the promise? #2407
Comments
Versions 0.1.x and 0.2.x not support promises. |
I'm using 0.2.x. why did the error message say promise not caught. See bottom |
Because fetching fonts uses promises to download file. |
How can I handle that if the internet goes down? |
Is is not possible. Is solved in version 0.3. |
Can v 0.2 be updated? Is v0.3 nearly prod ready? |
Version 0.2 support only callbacks, cannot be changed due to backward compatibility. Version 0.3 is in beta state, date of final release is unknown. |
You can wrap it in a promise as such:
|
I have a link to a font that does not exist because the internet is down.
Since the font doesn't exist, I see an error on the client side console:
How can I catch this uncaught promise and act appropriately?
The text was updated successfully, but these errors were encountered: