PhilippV
PhilippV
CDCloudflare Developers
Created by PhilippV on 12/3/2023 in #general-help
Does anyone have experience with sveltekit, cloudflare and sentry? getting sourcemaps to work?
Does anyone have experience with sveltekit, cloudflare and sentry? getting sourcemaps to work? (I don't care if using workers or pages)
1 replies
CDCloudflare Developers
Created by PhilippV on 10/8/2023 in #pages-help
Get Sourcemap for compiled _worker.js (i.e. /functionsWorker-<random>.js)
When I use workers and set no_bundle=true I know excactly what the actual files are gonna look like and can upload sourcemaps to sentry. For pages I have a _worker.js file, can I get the final files somehow?
1 replies
CDCloudflare Developers
Created by PhilippV on 10/6/2023 in #workers-help
deployed worker.js differs from local file
the file I specify in my wrangler.toml
main = "./.cloudflare/worker.js"
main = "./.cloudflare/worker.js"
is not the same as the file I see when I click on "Quick Edit" from the Dash. This breaks my sentry source maps. Why are the files differen?
2 replies
CDCloudflare Developers
Created by PhilippV on 10/4/2023 in #workers-help
How to use sentry.io with DO?
I have a SvelteKit project setup with toucan-js. When an Error is thrown inside a DO the error is caught but it has no stack-trace. Can I catch the Error in the worker (sveltekit) or should I handle it seperately in the DO?
2 replies
CDCloudflare Developers
Created by PhilippV on 10/4/2023 in #pages-help
how to deploy DO with pages?
Hey this is really frustrating. I have a SvelteKit app and I made it so that ‘.svelte-kit/cloudflare/_worker.js’ exports my DO (class) But I cannot access it from my deployed sveltekit app ‘env.DO’ is undefined and can’t create any binding from the dashboard, it sends me to workers docs where they use wrangler.toml and that is not used by pages so please help me out…
12 replies