fix: sentry init is using the wrong environment (#4940)

In the previous PR #4912 it seems that I forgot to pass the environment
on the backend.
Here is a quick fix!

I also added some "doc" in the the .env.example
This commit is contained in:
Quentin G
2024-04-12 12:27:35 +02:00
committed by GitHub
parent f47fe62742
commit a6b38d76ce
5 changed files with 9 additions and 3 deletions

View File

@ -41,7 +41,7 @@ export class ClientConfigResolver {
sentry: {
environment: this.environmentService.get('SENTRY_ENVIRONMENT'),
release: this.environmentService.get('SENTRY_RELEASE'),
dsn: this.environmentService.get('SENTRY_DSN_FRONT'),
dsn: this.environmentService.get('SENTRY_FRONT_DSN'),
},
};