Closed RobinHeidenis closed 9 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
bucketlist | ✅ Ready (Inspect) | Visit Preview | Sep 7, 2023 10:28pm |
SentryUserManager
A new file titled SentryUserManager.tsx
was added in the src/components
directory. This new component, SentryUserManager
, has been embedded into ClerkProvider
component within the src/pages/_app.tsx
file.src/pages/api/trpc/[trpc].ts
file:
setUser
, User
, and wrapApiHandlerWithSentry
from @sentry/nextjs
, getAuth
and clerkClient
from @clerk/nextjs/server
.onError
function to enable Sentry user set up, granting us the ability to easily collect user information from the clerkClient
when authentication is successful.wrapApiHandlerWithSentry
function to ensure all API error handling is sent through Sentry’s system.src/server/api/routers/invite.ts
and src/server/api/routers/movieList.ts
files, direct return
statements have been used for the create
and delete
operations instead of the previously used await
.collection
operation in the src/server/tmdbApi.ts
file
Used direct return
statements instead of await
for the upsert
operation on collection
records to improve operation performance.
BUC-73 Add currently logged in user to Sentry logging