NextJS + Sentry on Workers ?
I have a website that runs on Workers, I'm premium user.
This website is made with NextJS, and I want to add Sentry (or posthog) to get better error messages from the website, if it is possible.
I would love to hear if you have just 2 mins to share with me what you made, and so on
Thank y'all
1 Reply
Hey, this should be no problem at all, and you should be able to follow any guide on doing this with NextJS and have it work on Workers. Let me know if you encounter any Workers specific challenges.
https://posthog.com/docs/libraries/next-js
https://docs.sentry.io/platforms/javascript/guides/nextjs/
Next.js - Docs - PostHog
PostHog makes it easy to get data about traffic and usage of your Next.js app. Integrating PostHog into your site enables analytics about user…
Next.js | Sentry for Next.js
Learn how to set up and configure Sentry in your Next.js application using the installation wizard, capture your first errors, and view them in Sentry.