René's URL Explorer Experiment


Title: feat(node): Add fastify `shouldHandleError` by AbhiPrasad · Pull Request #15771 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(node): Add fastify `shouldHandleError` by AbhiPrasad · Pull Request #15771 · getsentry/sentry-javascript

X Title: feat(node): Add fastify `shouldHandleError` by AbhiPrasad · Pull Request #15771 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Supercedes #13198 resolves #13197 Aligns fastify error handler with the express one. Adds shouldHandleError to allow users to configure if errors should be captured Makes sure the default shouldHa...

X Description: Supercedes #13198 resolves #13197 Aligns fastify error handler with the express one. Adds shouldHandleError to allow users to configure if errors should be captured Makes sure the default shouldHa...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/15771

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b2c942a1-dc70-4bda-7da7-cae6c007c460
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB314:34BD38:1DDA9E6:26D7E44:6B040693
html-safe-nonce46402236385e9fc599ac5258525d367175d34e65b07c716b0c2a9adca935b722
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzE0OjM0QkQzODoxRERBOUU2OjI2RDdFNDQ6NkIwNDA2OTMiLCJ2aXNpdG9yX2lkIjoiMjUzNTI0NTAxODI0NDA1NjcyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace989ca99c589e534230b9eeebecc7ad55b9729c068fca5583f178190245eda77
hovercard-subject-tagpull_request:2408402887
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/15771/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f0fdd877b1a6234c8f900aa37e324e804daf426444773ce53591429b82968ace/getsentry/sentry-javascript/pull/15771
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f0fdd877b1a6234c8f900aa37e324e804daf426444773ce53591429b82968ace/getsentry/sentry-javascript/pull/15771
og:image:altSupercedes #13198 resolves #13197 Aligns fastify error handler with the express one. Adds shouldHandleError to allow users to configure if errors should be captured Makes sure the default shouldHa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhiPrasad
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15771#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15771
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15771
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15771
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15771
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15771
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests60 (60)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-fastify-shouldHandleErrorhttps://github.com/getsentry/sentry-javascript/tree/abhi-fastify-shouldHandleError
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15771
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/15771/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15771/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15771/files
feat(node): Add fastify shouldHandleErrorhttps://github.com/getsentry/sentry-javascript/pull/15771#top
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-fastify-shouldHandleErrorhttps://github.com/getsentry/sentry-javascript/tree/abhi-fastify-shouldHandleError
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2025https://github.com/getsentry/sentry-javascript/pull/15771#issue-2937106845
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15771
#13198https://github.com/getsentry/sentry-javascript/pull/13198
#13197https://github.com/getsentry/sentry-javascript/issues/13197
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15771
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
onurtemizkanhttps://github.com/onurtemizkan
March 21, 2025 02:44https://github.com/getsentry/sentry-javascript/pull/15771#event-16920985342
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2025https://github.com/getsentry/sentry-javascript/pull/15771#event-16920985374
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
lforsthttps://github.com/lforst
s1gr1dhttps://github.com/s1gr1d
March 21, 2025 02:44https://github.com/getsentry/sentry-javascript/pull/15771#event-16920985416
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 21, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#ref-pullrequest-2445113246
feat(node): Add shouldHandleError option to fastify error handler #13198 https://github.com/getsentry/sentry-javascript/pull/13198
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
mydeahttps://github.com/mydea
March 21, 2025 02:46https://github.com/getsentry/sentry-javascript/pull/15771#event-16921000462
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Mar 21, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#pullrequestreview-2705369579
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15771/files
dev-packages/e2e-tests/test-applications/node-fastify/tests/errors.test.tshttps://github.com/getsentry/sentry-javascript/pull/15771/files#diff-d136ee080479577ddfe43bbc35677352bd46cba0f1d7cf01c9dbcd3967388148
s1gr1dhttps://github.com/s1gr1d
Mar 21, 2025https://github.com/getsentry/sentry-javascript/pull/15771#discussion_r2007244421
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15771
AbhiPrasadhttps://github.com/AbhiPrasad
March 21, 2025 17:10https://github.com/getsentry/sentry-javascript/pull/15771#commits-pushed-2316f0e
https://github.com/AbhiPrasad
feat(node): Add fastify shouldHandleErrorhttps://github.com/getsentry/sentry-javascript/pull/15771/commits/2316f0e59b35da78e29cd604dd11d48224a7efc0
2316f0ehttps://github.com/getsentry/sentry-javascript/pull/15771/commits/2316f0e59b35da78e29cd604dd11d48224a7efc0
https://github.com/AbhiPrasad
fix types and update handler definitionhttps://github.com/getsentry/sentry-javascript/pull/15771/commits/eeec3d941e27e020b67bb3662bb3f01e3a07ea72
eeec3d9https://github.com/getsentry/sentry-javascript/pull/15771/commits/eeec3d941e27e020b67bb3662bb3f01e3a07ea72
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/4c6f908791e0dcc57ebb424aeaa807c2a2ab04b6..eeec3d941e27e020b67bb3662bb3f01e3a07ea72
4c6f908https://github.com/getsentry/sentry-javascript/commit/4c6f908791e0dcc57ebb424aeaa807c2a2ab04b6
eeec3d9https://github.com/getsentry/sentry-javascript/commit/eeec3d941e27e020b67bb3662bb3f01e3a07ea72
Compare https://github.com/getsentry/sentry-javascript/compare/4c6f908791e0dcc57ebb424aeaa807c2a2ab04b6..eeec3d941e27e020b67bb3662bb3f01e3a07ea72
March 21, 2025 23:00https://github.com/getsentry/sentry-javascript/pull/15771#event-16936625326
https://github.com/AbhiPrasad
restructure e2e testhttps://github.com/getsentry/sentry-javascript/pull/15771/commits/5919c1a02c1286858d466b2e179f7ac18f7c797e
5919c1ahttps://github.com/getsentry/sentry-javascript/pull/15771/commits/5919c1a02c1286858d466b2e179f7ac18f7c797e
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
50d2514https://github.com/getsentry/sentry-javascript/commit/50d2514a032fc2dd3d51dc9266bd40b9a4621d0e
Mar 22, 2025https://github.com/getsentry/sentry-javascript/pull/15771#event-16938527568
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 22, 2025 04:31https://github.com/getsentry/sentry-javascript/pull/15771#event-16938527668
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 24, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#ref-issue-2445086195
Sentry reports handled errors in Fastify integration #13197 https://github.com/getsentry/sentry-javascript/issues/13197
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 24, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#ref-pullrequest-2944196981
feat(fastify): Document shouldHandleError getsentry/sentry-docs#13111 https://github.com/getsentry/sentry-docs/pull/13111
https://github.com/mydea
mydeahttps://github.com/mydea
Apr 11, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#ref-issue-2256594959
Filter errors based on 4xx status codes in Node #11720 https://github.com/getsentry/sentry-javascript/issues/11720
mergifyhttps://github.com/apps/mergify
Apr 17, 2025 https://github.com/getsentry/sentry-javascript/pull/15771#ref-commit-bdb8a86
https://github.com/marketplace/mergify
[Snyk] Upgrade @sentry/browser from 9.7.0 to 9.9.0 (https://github.com/reisene/HulajDusza-serwis/commit/bdb8a8643a676c9de502ffb31142b144a31349a8
#340https://github.com/reisene/HulajDusza-serwis/pull/340
)https://github.com/reisene/HulajDusza-serwis/commit/bdb8a8643a676c9de502ffb31142b144a31349a8
bdb8a86https://github.com/reisene/HulajDusza-serwis/commit/bdb8a8643a676c9de502ffb31142b144a31349a8
https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=
https://badgen.net/badge/icon/Contributor/000000?label=https://badgen.net/badge/icon/Contributor/000000?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)