Can't deploy middleware function | Qwik • Sentry
Hey ! I'm trying to implement Sentry on the server-side of my Qwik website. I didn't find any working exemples on the internet so i seeked for help on the Qwik and the Sentry Discord servers. I found something on the Qwik Discord that didn't worked, and the guy that answered ma at Sentry's redirected me to the @sentry/cloudflare package that didn't worked too 😦
I am now thinking that I missed something on the Cloudflare part. because the function is not deployed and I think it is not even detected at build time.
I have defined my function like this :
import * as Sentry from "@sentry/cloudflare"
it is in a /functions/_middleware.js file at the root of the project.
I don't know what to do now, can someone help me ?
0 Replies