mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-04 04:25:39 +00:00
Add env name in sentry, set default sentry endpoint
This commit is contained in:
@@ -70,6 +70,7 @@ async function main() {
|
||||
new Tracing.Integrations.Express({ app }),
|
||||
],
|
||||
tracesSampleRate: Config.get().sentry.traceSampleRate,
|
||||
environment: Config.get().sentry.environment
|
||||
});
|
||||
|
||||
app.use(Sentry.Handlers.requestHandler());
|
||||
|
||||
Reference in New Issue
Block a user