AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Set up Enviromental Variables for Sentry Properties #146

Closed nozomione closed 1 month ago

nozomione commented 1 year ago

Context

We previously merged the PR: #13 for the sentry integration setup, however, the requirement has changed and as a result, there are errors generated for the sentry at the build / compile time and we'll need to adjust our configs to fix those errors.

e.g., An error at the build:

error - No Sentry organization slug configured.

Problem or idea

To resolve the error, we should log into to Sentry and get the necessary property values, and create the following environmental variables in Vercel.

Property Environment variable
url SENTRY_URL (or SENTRY_DSN)
org SENTRY_ORG
project SENTRY_PROJECT
authToken SENTRY_AUTH_TOKEN

(resources) https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-environment-variables

Solution or next step

nozomione commented 1 year ago

@davidsmejia Let's set up the sentry for the main (prod) deploy ⚙️

Screenshot 2023-11-02 at 9 32 10 AM

nozomione commented 1 month ago

This issue is no longer relevant and will be closed. We've also removed Sentry from local development, thank you.