Skip to content

Commit

Permalink
Individual sentry errors for missing blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Dec 22, 2024
1 parent ee8d429 commit 3319d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/blog/post/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function generateMetadata(
});

if (!post) {
captureException(new Error("Post not found"), {
captureException(new Error(`Post not found. Slug: ${params.slug}`), {
extra: {
params,
query: postQuery,
Expand Down

1 comment on commit 3319d15

@vercel
Copy link

@vercel vercel bot commented on 3319d15 Dec 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.