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
client.js?v=2cc7adfe:927 Uncaught (in promise) Error: navigation was cancelled
at Object.cancel (client.js?v=2cc7adfe:927:16)
at +page.svelte:5:20
at client.js?v=2cc7adfe:933:46
at Array.forEach (<anonymous>)
at before_navigate (client.js?v=2cc7adfe:933:30)
at navigate (client.js?v=2cc7adfe:969:15)
at HTMLHtmlElement.<anonymous> (client.js?v=2cc7adfe:1594:5)
Describe the bug
Sveltekit throws an error when using
navigation.cancel()
inbeforeNavigate
:Not sure if this is expected behaviour, but the error is caught by our Sentry logging, which is kind of annoying when it's not really an error.
Reproduction
https://github.com/MathiasWP/sveltekit-navigation-cancel-repro
Logs
Severity
annoyance
Additional Information
Most likely caused by this PR: #9605
The text was updated successfully, but these errors were encountered: