1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-14 00:29:19 +00:00

chore: Add error handling directing to a Glitchtip server to log errors

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2024-01-22 23:45:48 +01:00
parent 0146765e7a
commit e6a8c1dd71
4 changed files with 21 additions and 0 deletions

View File

@ -40,6 +40,11 @@ npm run build
npm run start
```
### Envs
you can add environment variables to add features to the server:
- SENTRY_DSN: the DSN to a sentry compatible server to allow to catch errors
### Using Docker
Go to the parent directory and build the Dockerfile!