Skip to content

Commit

Permalink
you're welcome future self
Browse files Browse the repository at this point in the history
  • Loading branch information
gtm-nayan committed Sep 1, 2023
1 parent 8e79521 commit a40f8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/kit/src/runtime/client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2034,6 +2034,8 @@ function create_navigation(current, intent, url, type) {
fulfil = f;
reject = r;
});

// Handle any errors off-chain so that it doesn't show up as an unhandled rejection
complete.catch(() => {});

/** @type {import('@sveltejs/kit').Navigation} */
Expand Down

0 comments on commit a40f8e9

Please sign in to comment.