Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/deno
SDK Version
8.7.0
Framework Version
1.44.1
Link to Sentry event
No response
SDK Setup
// foo.tsimport*asSentryfrom'npm:@sentry/deno'Sentry.init({dsn: '...',integrations: [Sentry.captureConsoleIntegration()],})setTimeout(()=>{console.error(newError('This is an error'))prompt('Press Enter to exit...')},100)Steps to Reproduce
- run
deno run -A foo.ts
Expected Result
It sends the error to Sentry.
Actual Result
Nothing happens.
If I manually do something like this it works, but the integration isn't working:
constorig=console.errorconsole.error=(...args: unknown[])=>{if(args.length===1&&args[0]instanceofError){Sentry.captureException(args[0])}orig(...args)}
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/deno
SDK Version
8.7.0
Framework Version
1.44.1
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
deno run -A foo.tsExpected Result
It sends the error to Sentry.
Actual Result
Nothing happens.
If I manually do something like this it works, but the integration isn't working: