Skip to content

Commit 97015ba

Browse files
authored
fix(docs): update sentry error tracking guide for v4 (#2479)
1 parent 9966011 commit 97015ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/examples/sentry-error-tracking.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default defineConfig({
5656
environment: process.env.NODE_ENV === "production" ? "production" : "development",
5757
});
5858
},
59-
onFailure: async (payload, error, { ctx }) => {
59+
onFailure: async ({ payload, error, ctx }) => {
6060
Sentry.captureException(error, {
6161
extra: {
6262
payload,

0 commit comments

Comments
 (0)