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
Checking the console, it seems like the error is thrown and since it was unhandled, the content in await block is shown. Shouldn't this be the expected behaviour?
No, we can still re-throw/re-emit the unhandled rejection after we update the DOM. That feature request was just that there be an unhandled rejection to listen for globally.
We get an infinite wait if promise rejection and there is no catch block in template.
Svelte version 3.25.0
REPL: https://svelte.dev/repl/791ef575157744ca95fc53c867048c2e?version=3.25.0
But in svelte version 3.24.1 is everything works.
REPL: https://svelte.dev/repl/aafb907381524e5db23c1ae7f2c94b8f?version=3.24.1
The documentation says the catch block is optional https://svelte.dev/docs#await
The text was updated successfully, but these errors were encountered: