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
It looks like Toucan is not sending sessions/session data to Sentry. I see no session being recorded after I ran the worker several times:
Here's the worker TypeScript code:
import{Toucan}from'toucan-js';exportinterfaceEnv{}exportdefault{asyncfetch(request: Request,env: Env,ctx: ExecutionContext): Promise<Response>{constsentry=newToucan({dsn: 'ADD_YOUR_DSN_HERE',context: ctx,
request,release: 'fetch',});try{// throw new Error('This is a test error');returnnewResponse('Hello World!');}catch(error){sentry.captureException(error);returnnewResponse('Internal Server Error',{status: 500});}},};
Is this a bug?
Or, perhaps, a feature missing from Toucan?
Or, perhaps, I am missing something?
Thanks in advance 👍
The text was updated successfully, but these errors were encountered:
It looks like Toucan is not sending sessions/session data to Sentry. I see no session being recorded after I ran the worker several times:
Here's the worker TypeScript code:
Is this a bug?
Or, perhaps, a feature missing from Toucan?
Or, perhaps, I am missing something?
Thanks in advance 👍
The text was updated successfully, but these errors were encountered: