when navigating to /cody/chat on dotcom and not being signed in.
This should not affect 'not found' errors that a triggered by SvelteKit itself.
This will also fix the captureException issues in Sentry, which are created when handleErrorWithSentry encounters thrown Redirects.
Test plan
Created a production Bazel build of the web app and ran it from a local instance. I added unconditional redirect and error calls to the /cody/chat page. Both have been handled as expected.
Fixes srch-927
This should fix the issue of seeing
when navigating to
/cody/chat
on dotcom and not being signed in.This should not affect 'not found' errors that a triggered by SvelteKit itself.
This will also fix the
captureException
issues in Sentry, which are created whenhandleErrorWithSentry
encounters thrownRedirect
s.Test plan
Created a production Bazel build of the web app and ran it from a local instance. I added unconditional
redirect
anderror
calls to the/cody/chat
page. Both have been handled as expected.