Tim FishT
Denoβ€’3y agoβ€’
5 replies
Tim Fish

Sentry - monkey patching globals?

I'm working with Sentry to release a Deno SDK.

To capture breadcrumbs and tracing for console/fetch etc, Sentry monkey patch these globals.

Last time I tried, shortly after v1 this worked but trying with the latest release, this no longer works.

Testing further I can monkey patch globals but it seems to be isolated to the module/file where I do the patching.

Is this expected behaviour? Have there been changes to restrict monkey patching globals?
Was this page helpful?