nodejs / release-cloudflare-worker

Infra for serving Node.js downloads and documentation.
https://nodejs.org/dist
MIT License
22 stars 5 forks source link

src: report errors to sentry #62

Closed flakey5 closed 11 months ago

flakey5 commented 11 months ago

Note: need to add the dsn under the SENTRY_DSN secret.

Was going to use Sentry's official client @sentry/node , but I'm not sure if it's compatible with Workers. toucan-js is specifically meant as a Sentry client for Workers, and it's even being used in some of Cloudflare's own modules https://github.com/cloudflare/worker-sentry/blob/74ffc72bbd305fcbf832f873342967ae9de7088f/package.json#L17

MoLow commented 11 months ago

I'v added the DSN (took the default one from here) as a secret