Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 19, 2023

Incoming page load requests on the server side for unknown/invalid routes will throw a Error: Not found: /unknown/route error in the server handleError hook. In our wrapper, we don't want to catch these errors (similarly to 404 errors in the wrapLoadWithSentry wrapper).

@Lms24 Lms24 requested review from a team, AbhiPrasad and mydea and removed request for a team April 19, 2023 09:27
@Lms24 Lms24 changed the title fix(sveltekit): Don't capture "Not Found" errors in server handleError wrapper fix(sveltekit): Avoid capturing "Not Found" errors in server handleError wrapper Apr 19, 2023
@Lms24 Lms24 merged commit f6eccc4 into develop Apr 19, 2023
@Lms24 Lms24 deleted the lms/sveltekit-fix-errorhandler-not-found branch April 19, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants