Skip to content

feat(node): Add setupFastifyErrorHandler utility #11061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Mar 12, 2024

For easier setup of error handling in fastify.

@mydea mydea requested review from Lms24 and AbhiPrasad March 12, 2024 16:51
@mydea mydea self-assigned this Mar 12, 2024
@mydea mydea force-pushed the fn/fastify-error-handler branch from f04f6ac to 2e201e0 Compare March 13, 2024 09:03
@@ -101,3 +101,25 @@ Sentry.setupExpressErrorHandler(app);

app.listen(3000);
```

## Fastify
Copy link
Member

Choose a reason for hiding this comment

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

we should probably write a guide for Fastify in dour docs at some point (probably not a blocker but is this something for #11064?)

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, once we update the docs for v8 we need to add guides for fastify, nest.js, and hapi, as well as updating the koa guides (and express, of course)! I'll add it to the issue, good point!

@mydea mydea merged commit eb6a3c5 into develop Mar 13, 2024
@mydea mydea deleted the fn/fastify-error-handler branch March 13, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants