MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / useSentryIdentifyOrganization

Function useSentryIdentifyOrganization

console/src/sentry.ts:86–93  ·  view source on GitHub ↗
({ user }: { user: User })

Source from the content-addressed store, hash-verified

84}
85
86export const useSentryIdentifyOrganization = ({ user }: { user: User }) => {
87 useEffect(() => {
88 Sentry.setUser({
89 id: user.id,
90 email: user.email,
91 });
92 }, [user]);
93};
94
95/** React router <Routes /> component wrapped with Sentry tracing */
96export const SentryRoutes =

Callers 1

CloudAppInitializerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected