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
To trigger the uncaught promise rejection, click on "/home" and then the button.
What is expected?
No uncaught promise rejection because there are actually no errors generated by the application. It's simply a navigation ($router.push) that generates a redirect (next('/foo')) in a beforeEnter hook.
What is actually happening?
Console reports: Uncaught (in promise) undefined
Using a router-link to /bar instead of the initial $router.push('/bar') does not produce the error.