Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.99.0
Framework Version
14.1.0
Link to Sentry event
SDK Setup
{
dsn: "https://ab637fbc48e826363f3cc7fbb1e0fc68@o4506114868117504.ingest.sentry.io/4506667113185280",
tracesSampleRate: 1,
debug: false,
}
Steps to Reproduce
Create a server action with the following:
"use server";
import { withServerActionInstrumentation } from "@sentry/nextjs";
import { headers } from "next/headers";
export async function someAction() {
return await withServerActionInstrumentation(
"foo",
{ headers: headers() },
async () => {
redirect("/some-path");
},
);
}
Expected Result
These exceptions should not be caught as per #7641.
Actual Result
An error is logged in Sentry issues:
Metadata
Metadata
Assignees
Type
Projects
Status
No status