Closed
Description
Package + Version
-
@sentry/minimal
-
@sentry/browser
-
raven-js
Version:
4.1.1
Description
I'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error using either @sentry/minimal
, @sentry/browser
or raven-js
.
The code is at available at https://github.com/tutorcruncher/cloudflare-worker and a preview is avilable at https://cloudflareworkers.com/#8dc47c7e9bd4a5463e6495630f82b7e9:https://workers.tutorcruncher.com although I'm not sure how long that will last for.
If the preview has stopped working you should be able to run a new preview with simply yarn && python preview.py
.
Uncaught TypeError: dist.init is not a function
at Module.<anonymous> (worker.js:1863:13)
at __webpack_require__ (worker.js:20:30)
at worker.js:84:18
at worker.js:87:10
I also tried @sentry/browser
but an error The 'referrerPolicy' field on 'RequestInitializerDict' is not implemented.
which makes sense. raven-js
gave yet another error.
Metadata
Metadata
Assignees
Labels
No labels