Skip to content

Commit

Permalink
Add sentry to api (#459)
Browse files Browse the repository at this point in the history
* add sentry to API

* better capture errors instead of failing

* add @sentry/tracing to package mgr
  • Loading branch information
davidkircos committed May 1, 2023
1 parent 9a2487a commit 48ffb57
Show file tree
Hide file tree
Showing 5 changed files with 345 additions and 4 deletions.
3 changes: 2 additions & 1 deletion quadratic-api/.env_example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ DATABASE_URL="postgresql://"
AUTH0_JWKS_URI='https://dev.us.auth0.com/.well-known/jwks.json'
AUTH0_ISSUER='https://auth-dev.quadratic.to/'
OPENAI_API_KEY=OPENAI_API_KEY
CORS='*'
CORS='*'
SENTRY_DSN=
283 changes: 283 additions & 0 deletions quadratic-api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions quadratic-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"license": "MIT",
"dependencies": {
"@prisma/client": "^4.12.0",
"@sentry/node": "^7.50.0",
"@sentry/tracing": "^7.50.0",
"@types/express": "^4.17.14",
"@types/node": "^18.11.9",
"cors": "^2.8.5",
Expand Down
Loading

0 comments on commit 48ffb57

Please sign in to comment.