Server Actions + Prisma + Sentry = no Sentry Prisma transactions
Unanswered
Philippine Crocodile posted this in #help-forum
Philippine CrocodileOP
i'm using server actions, prisma and sentry; for some reason i can't get prisma transactions to show up in sentry when using a server actions like:
but when i use a list it works
could this be because the
// actions/create.js
"use server"
export async function createPost(...) {
...
db.post.create(...)
...
}but when i use a list it works
// actions/list.js
export async function listPosts(...) {
...
db.post.findMany(...)
...
}could this be because the
createPost action starts in the client, and the prisma integration only works in the server? 😕