René's URL Explorer Experiment


Title: fix(nitro): Capture errors thrown in tasks by andreiborza · Pull Request #26089 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nitro): Capture errors thrown in tasks by andreiborza · Pull Request #26089 · getsentry/sentry-javascript

X Title: fix(nitro): Capture errors thrown in tasks by andreiborza · Pull Request #26089 · getsentry/sentry-javascript

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

Open Graph Description: What Errors thrown in Nitro tasks are now sent to Sentry. Why Nitro catches errors from scheduled tasks and only logs them, so they never got to the error hook and were not reported. Closes: #25985

X Description: What Errors thrown in Nitro tasks are now sent to Sentry. Why Nitro catches errors from scheduled tasks and only logs them, so they never got to the error hook and were not reported. Closes: #25985

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:74aa5600-30db-959b-11b7-3684d86e669b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC32:1FD1:10F96CB:16EC7D1:6B042E68
html-safe-noncea430ab87a4761a991b7f24c17f094bc1cead679e4dc778c7b8a73fb5f8af51eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzMyOjFGRDE6MTBGOTZDQjoxNkVDN0QxOjZCMDQyRTY4IiwidmlzaXRvcl9pZCI6IjIxODc1NzAwNTcwMzc3NTM5NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdd721baf9ff1ae2ff4d4c494e7503d196983be673eb89f5eb2e320a0e19d85d0
hovercard-subject-tagpull_request:5151717027
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/26089/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c761f306dfea6c96b4073b52767ca3fe2f54fa28c3a69ce0221de2284a8b4f95/getsentry/sentry-javascript/pull/26089
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c761f306dfea6c96b4073b52767ca3fe2f54fa28c3a69ce0221de2284a8b4f95/getsentry/sentry-javascript/pull/26089
og:image:altWhat Errors thrown in Nitro tasks are now sent to Sentry. Why Nitro catches errors from scheduled tasks and only logs them, so they never got to the error hook and were not reported. Closes: #25985
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandreiborza
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/26089#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F26089
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%2F26089
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/26089
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26089
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26089
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)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
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/nitro-task-errorshttps://github.com/getsentry/sentry-javascript/tree/ab/nitro-task-errors
Conversationhttps://github.com/getsentry/sentry-javascript/pull/26089
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/26089/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/26089/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/26089/files
fix(nitro): Capture errors thrown in taskshttps://github.com/getsentry/sentry-javascript/pull/26089#top
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/nitro-task-errorshttps://github.com/getsentry/sentry-javascript/tree/ab/nitro-task-errors
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#issue-6199725797
#25985https://github.com/getsentry/sentry-javascript/issues/25985
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
https://github.com/claude
fix(nitro): Capture errors thrown in taskshttps://github.com/getsentry/sentry-javascript/pull/26089/commits/461094d0f42b1950d92dd0389f36d7ae61b7e2a1
461094dhttps://github.com/getsentry/sentry-javascript/pull/26089/commits/461094d0f42b1950d92dd0389f36d7ae61b7e2a1
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#issuecomment-6626931365
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#issuecomment-6626943594
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
a4bc1a0https://github.com/getsentry/sentry-javascript/commit/a4bc1a0039150f215afc9a80efccebbdfb6f3450
d138b7bhttps://github.com/getsentry/sentry-javascript/commit/d138b7bcb712e7302538dd4d24efb3ae8416f6ea
d138b7bhttps://github.com/getsentry/sentry-javascript/commit/d138b7bcb712e7302538dd4d24efb3ae8416f6ea
base run #64941https://github.com/getsentry/sentry-javascript/actions/runs/41804530532
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/41804530532
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#issuecomment-6626954915
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
See the runhttps://github.com/getsentry/sentry-javascript/actions/runs/41811854515
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/41811854515/job/126512795082
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Nov 4, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#pullrequestreview-5765969200
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/26089/files/461094d0f42b1950d92dd0389f36d7ae61b7e2a1
cursorhttps://github.com/apps/cursor
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/getsentry/sentry-javascript/pull/26089#pullrequestreview-5765969200
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
packages/nitro/src/runtime/utils/instrumentTasks.tshttps://github.com/getsentry/sentry-javascript/pull/26089/files/461094d0f42b1950d92dd0389f36d7ae61b7e2a1#diff-c93263dccccb9220921b7a79a2dd1bc03a060c57c6bddff12bf3d15a65b596ce
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
Skip HTTPError wrappers of already captured errorshttps://github.com/getsentry/sentry-javascript/pull/26089/commits/ca93ca94681535033d821468264522f081c67d79
ca93ca9https://github.com/getsentry/sentry-javascript/pull/26089/commits/ca93ca94681535033d821468264522f081c67d79
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#issuecomment-6627973948
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Nov 4, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#pullrequestreview-5766627607
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/26089/files/ca93ca94681535033d821468264522f081c67d79
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/26089#pullrequestreview-5766627607
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
ca93ca9https://github.com/getsentry/sentry-javascript/commit/ca93ca94681535033d821468264522f081c67d79
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
November 4, 2026 10:12https://github.com/getsentry/sentry-javascript/pull/26089#event-35116639799
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
code ownershttps://github.com/getsentry/sentry-javascript/blob/23eca77153a15072433b17fca7dbfba7ab882998/.github/CODEOWNERS#L2
November 4, 2026 10:12https://github.com/getsentry/sentry-javascript/pull/26089#event-35116641001
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Lms24https://github.com/Lms24
chargomehttps://github.com/chargome
isaacshttps://github.com/isaacs
logaretmhttps://github.com/logaretm
mydeahttps://github.com/mydea
s1gr1dhttps://github.com/s1gr1d
November 4, 2026 10:12https://github.com/getsentry/sentry-javascript/pull/26089#event-35116642000
https://github.com/chargome
chargomehttps://github.com/chargome
Nov 4, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#pullrequestreview-5766800999
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/26089/files/ca93ca94681535033d821468264522f081c67d79
packages/nitro/src/runtime/plugins/server.tshttps://github.com/getsentry/sentry-javascript/pull/26089/files/ca93ca94681535033d821468264522f081c67d79#diff-9314b58841d4b87358e9a3f98f2f2f38a2f3bd4d8205095b22991eb846f52ae4
chargomehttps://github.com/chargome
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#discussion_r4466304453
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
andreiborzahttps://github.com/andreiborza
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#discussion_r4466335872
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
2619fa4https://github.com/getsentry/sentry-javascript/commit/2619fa407b6cd3f03e076077245b48eb18acc2cb
Nov 4, 2026https://github.com/getsentry/sentry-javascript/pull/26089#event-35117305793
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
November 4, 2026 10:22https://github.com/getsentry/sentry-javascript/pull/26089#event-35117358711
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Nov 5, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#ref-issue-6223006180
publish: getsentry/sentry-javascript@11.11.0 getsentry/publish#10234 https://github.com/getsentry/publish/issues/10234
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 5, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#ref-issue-6146624319
Nitro: Errors in tasks are not reported #25985 https://github.com/getsentry/sentry-javascript/issues/25985
fix(nitro): Bundle the @sentry/nitro runtime plugin in nitro dev getsentry/junior#3634 https://github.com/getsentry/junior/pull/3634
fix(nitro): Bundle the runtime plugin in nitro dev #26518 https://github.com/getsentry/sentry-javascript/pull/26518
mydeahttps://github.com/mydea
Nov 18, 2026 https://github.com/getsentry/sentry-javascript/pull/26089#ref-commit-433eb09
https://github.com/apps/sentry-junior
https://github.com/mydea
fix(nitro): Bundle the runtime plugin in nitro dev (https://github.com/getsentry/sentry-javascript/commit/433eb09a3e0b32ce83019a04f58c1cec80cddac2
#26518https://github.com/getsentry/sentry-javascript/pull/26518
)https://github.com/getsentry/sentry-javascript/commit/433eb09a3e0b32ce83019a04f58c1cec80cddac2
433eb09https://github.com/getsentry/sentry-javascript/commit/433eb09a3e0b32ce83019a04f58c1cec80cddac2
#26089https://github.com/getsentry/sentry-javascript/pull/26089
#26524https://github.com/getsentry/sentry-javascript/pull/26524
getsentry/junior#3634https://github.com/getsentry/junior/pull/3634
@mydeahttps://github.com/mydea
https://junior-prod.sentry.dev/conversations/slack%3AD0CA8FXFXAS%3A1794989068.174269https://junior-prod.sentry.dev/conversations/slack%3AD0CA8FXFXAS%3A1794989068.174269
https://sentry.sentry.io/explore/conversations/slack%3AD0CA8FXFXAS%3A1794989068.174269/?project=4510944073809921https://sentry.sentry.io/explore/conversations/slack%3AD0CA8FXFXAS%3A1794989068.174269/?project=4510944073809921
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F26089
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/26089/files/ca93ca94681535033d821468264522f081c67d79
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/26089/files/ca93ca94681535033d821468264522f081c67d79
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
https://github.com/logaretm
logaretm https://github.com/logaretm
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
Nitro: Errors in tasks are not reported https://github.com/getsentry/sentry-javascript/issues/25985
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26089
https://github.com/andreiborza
https://github.com/chargome
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.