PostHog / squeak

A Q&A widget for your docs
https://squeak.posthog.com/
MIT License
176 stars 15 forks source link

Sentry integration + session error handling #200

Closed ajsharp closed 2 years ago

ajsharp commented 2 years ago

This PR introduces two changes: adding sentry to the project, and capturing errors that can happen during encrypting/decrypting of the session cookie (this can occur when the private key used to encrypt the values is changed).

The only thing that needs to be added to land this is to add a SENTRY_AUTH_TOKEN github secret in the main squeak repo.

Source maps are uploaded and a sentry release is created as part of the docker build process when yarn build (e.g. next build) is run.