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
* This function can be used to wrap the server entry request handler to add tracing to server-side functionality.
7
+
* You must explicitly define a server entry point in your application for this to work. This is done by passing the request handler to the `createServerEntry` function.
8
+
* For more information about the server entry point, see the [TanStack Start documentation](https://tanstack.com/start/docs/server-entry).
6
9
*
7
-
* @param serverEntry - server entry function to wrap
8
-
* @returns - wrapped server entry function
10
+
* @example
11
+
* ```ts
12
+
* import { withSentry } from '@sentry/tanstackstart-react';
13
+
*
14
+
* import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
15
+
* import type { ServerEntry } from '@tanstack/react-start/server-entry';
0 commit comments