René's URL Explorer Experiment


Title: bug: Console logs swallowed by Sentry in dev mode · Issue #2900 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: Console logs swallowed by Sentry in dev mode · Issue #2900 · triggerdotdev/trigger.dev

X Title: bug: Console logs swallowed by Sentry in dev mode · Issue #2900 · triggerdotdev/trigger.dev

Description: Provide environment information Any trigger and sentry version Describe the bug Console logs (console.log, console.info, etc.) and Trigger.dev logger calls (logger.info) intermittently fail to appear in the Trigger.dev dashboard UI when ...

Open Graph Description: Provide environment information Any trigger and sentry version Describe the bug Console logs (console.log, console.info, etc.) and Trigger.dev logger calls (logger.info) intermittently fail to appe...

X Description: Provide environment information Any trigger and sentry version Describe the bug Console logs (console.log, console.info, etc.) and Trigger.dev logger calls (logger.info) intermittently fail to appe...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/2900

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Console logs swallowed by Sentry in dev mode","articleBody":"### Provide environment information\n\nAny trigger and sentry version\n\n### Describe the bug\n\nConsole logs (console.log, console.info, etc.) and Trigger.dev logger calls (logger.info) intermittently fail to appear in the Trigger.dev dashboard UI when running in development mode with Sentry initialized in `trigger/init.ts`. \n\nThe issue occurs intermittently in development. When it happens, all console output is swallowed and never reaches the Trigger.dev UI, even though the task executes successfully.\n\nExpected behavior: Console logs should always appear in the Trigger.dev dashboard regardless of Sentry initialization.\n\nThe issue does NOT occur in production environments. Logs work correctly when deployed.\n\n### Reproduction repo\n\nn/a\n\n### To reproduce\n\n1. Install @sentry/node in a Trigger.dev project\n2. Create `trigger/init.ts` with:\n\n```\nimport { tasks } from \"@trigger.dev/sdk\";\nimport * as Sentry from \"@sentry/node\";\n\nSentry.init({\n  defaultIntegrations: false,\n  dsn: process.env.SENTRY_DSN,\n  environment: process.env.NODE_ENV === \"production\" ? \"production\" : \"development\",\n});\n\ntasks.onFailure(({ payload, error, ctx }) => {\n  Sentry.captureException(error, {\n    extra: { payload, ctx },\n  });\n  await Sentry.flush(2000);\n});\n```\n3. Create a test task that logs extensively:\n\n```\nexport const testTask = task({\n  id: \"test\",\n  run: async () => {\n    console.log(\"Test log\");\n    console.info(\"Test info\");\n    logger.info(\"Trigger logger test\");\n    return { success: true };\n  },\n});\n```\n4. Run [trigger dev](https://trigger.dev/docs/manual-setup#option-1:-using-npx/pnpm-dlx/yarn-dlx)\n5. Observe that logs intermittently do not appear in the Trigger.dev dashboard UI\n\n\n\n### Additional information\n\n- Issue only affects development mode, not production\n- Issue most likely happens because in development environment, `init.ts` loads dynamically when tasks run, but this happens after ConsoleInterceptor is created during bootstrap and before ConsoleInterceptor.intercept() is called","author":{"url":"https://github.com/isshaddad","@type":"Person","name":"isshaddad"},"datePublished":"2026-01-16T14:20:33Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/2900"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ad13374e-259e-017d-6b2d-f8a23f0a8cc2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB7EA:8BE43:2F63AB5:4345626:6AFAE22D
html-safe-noncec06c6ccc685de2e8ef86177c94dcb220c6d6ed4de5ce8746f85ca83dcad6ec45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0VBOjhCRTQzOjJGNjNBQjU6NDM0NTYyNjo2QUZBRTIyRCIsInZpc2l0b3JfaWQiOiIzNTI3NjE4OTAxNTY5MTAyMzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5629b38eaa97f2f346d2de4e6300ed0f7aaeac527aa77be228010b069828670d
hovercard-subject-tagissue:3822243607
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/2900/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4e9faaf3afd0a86a54d9264e27785a2d9b45378f784045da36f3bdd21d16869b/triggerdotdev/trigger.dev/issues/2900
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4e9faaf3afd0a86a54d9264e27785a2d9b45378f784045da36f3bdd21d16869b/triggerdotdev/trigger.dev/issues/2900
og:image:altProvide environment information Any trigger and sentry version Describe the bug Console logs (console.log, console.info, etc.) and Trigger.dev logger calls (logger.info) intermittently fail to appe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameisshaddad
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
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
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/2900#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F2900
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%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F2900
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2900
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2900
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/2900
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests66 (66)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2900
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2900
bug: Console logs swallowed by Sentry in dev modehttps://github.com/triggerdotdev/trigger.dev/issues/2900#top
https://github.com/isshaddad
isshaddadhttps://github.com/isshaddad
on Jan 16, 2026https://github.com/triggerdotdev/trigger.dev/issues/2900#issue-3822243607
trigger devhttps://trigger.dev/docs/manual-setup#option-1:-using-npx/pnpm-dlx/yarn-dlx
deepshekhardashttps://github.com/deepshekhardas
on Feb 2, 2026https://github.com/triggerdotdev/trigger.dev/issues/2900#event-22464556006
fix(core): delegate to original console in ConsoleInterceptor to pres…https://github.com/deepshekhardas/trigger.dev/commit/93aa053cfa79b86dbef177f7870f7418355d37b7
93aa053https://github.com/deepshekhardas/trigger.dev/commit/93aa053cfa79b86dbef177f7870f7418355d37b7
verify: add reproduction scripts and PR details for all major fixeshttps://github.com/deepshekhardas/trigger.dev/commit/c97cbccebd6a74b0d1c340579cb94cbec650a91e
c97cbcchttps://github.com/deepshekhardas/trigger.dev/commit/c97cbccebd6a74b0d1c340579cb94cbec650a91e
verify: add reproduction scripts and PR details for all major fixeshttps://github.com/deepshekhardas/trigger.dev/commit/aa90db92dead21f2576ad1f1a3236bb66c006612
aa90db9https://github.com/deepshekhardas/trigger.dev/commit/aa90db92dead21f2576ad1f1a3236bb66c006612
deepshekhardashttps://github.com/deepshekhardas
on Feb 10, 2026https://github.com/triggerdotdev/trigger.dev/issues/2900#event-22669687753
fix: resolve issues triggerdotdev#2900, triggerdotdev#2911, triggerdo…https://github.com/deepshekhardas/trigger.dev/commit/954d8fe61ea51f988dea97cfe87d9f3ba4829c6b
triggerdotdev#2900https://github.com/triggerdotdev/trigger.dev/issues/2900
triggerdotdev#2911https://github.com/triggerdotdev/trigger.dev/issues/2911
triggerdo…https://github.com/triggerdotdev/trigger.dev/issues/3018
954d8fehttps://github.com/deepshekhardas/trigger.dev/commit/954d8fe61ea51f988dea97cfe87d9f3ba4829c6b
fix: resolve issues triggerdotdev#2900, triggerdotdev#2911, triggerdo…https://github.com/deepshekhardas/trigger.dev/commit/6a3193b4bb0a88698a0222662e7f89c0270851c5
triggerdotdev#2900https://github.com/triggerdotdev/trigger.dev/issues/2900
triggerdotdev#2911https://github.com/triggerdotdev/trigger.dev/issues/2911
triggerdo…https://github.com/triggerdotdev/trigger.dev/issues/3018
6a3193bhttps://github.com/deepshekhardas/trigger.dev/commit/6a3193b4bb0a88698a0222662e7f89c0270851c5
fix: preserve log chain in ConsoleInterceptor (triggerdotdev#2900)https://github.com/deepshekhardas/trigger.dev/commit/1d99080f18a5eabe465c5265ce17be5dd729c072
triggerdotdev#2900https://github.com/triggerdotdev/trigger.dev/issues/2900
1d99080https://github.com/deepshekhardas/trigger.dev/commit/1d99080f18a5eabe465c5265ce17be5dd729c072
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
on Aug 29, 2026https://github.com/triggerdotdev/trigger.dev/issues/2900#issuecomment-5464061389
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2900
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/2900
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

Viewport: width=device-width


URLs of crawlers that visited me.