You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Console logs swallowed by Sentry in dev mode #2900
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 running in development mode with Sentry initialized in trigger/init.ts.
The 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.
Expected behavior: Console logs should always appear in the Trigger.dev dashboard regardless of Sentry initialization.
The issue does NOT occur in production environments. Logs work correctly when deployed.
Observe that logs intermittently do not appear in the Trigger.dev dashboard UI
Additional information
Issue only affects development mode, not production
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
Thank you for the report. We have not been able to reproduce this. Please share the following: the @trigger.dev/sdk version, your init.ts (or the file that calls Sentry.init), and whether the problem still occurs on the latest 4.5.x release. A minimal repository that shows the problem would help most.
Activity
fix(core): delegate to original console in ConsoleInterceptor to pres…
verify: add reproduction scripts and PR details for all major fixes
verify: add reproduction scripts and PR details for all major fixes
fix: resolve issues triggerdotdev#2900, triggerdotdev#2911, triggerdo…
fix: resolve issues triggerdotdev#2900, triggerdotdev#2911, triggerdo…
fix: preserve log chain in ConsoleInterceptor (triggerdotdev#2900)
matt-aitken commentedon Aug 29, 2026
Thank you for the report. We have not been able to reproduce this. Please share the following: the
@trigger.dev/sdkversion, yourinit.ts(or the file that callsSentry.init), and whether the problem still occurs on the latest 4.5.x release. A minimal repository that shows the problem would help most.