mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 13:07:34 +00:00
Add env name in sentry, set default sentry endpoint
This commit is contained in:
BIN
bundle/package-lock.json
generated
BIN
bundle/package-lock.json
generated
Binary file not shown.
@@ -62,7 +62,6 @@
|
||||
"@fosscord/api": "file:../api",
|
||||
"@fosscord/cdn": "file:../cdn",
|
||||
"@fosscord/gateway": "file:../gateway",
|
||||
"@fosscord/util": "file:../util",
|
||||
"@sentry/node": "^6.16.1",
|
||||
"@sentry/tracing": "^6.16.1",
|
||||
"ajv": "8.6.2",
|
||||
@@ -105,6 +104,7 @@
|
||||
"typeorm": "^0.2.37",
|
||||
"typescript": "^4.1.2",
|
||||
"typescript-json-schema": "^0.50.1",
|
||||
"ws": "^7.4.2"
|
||||
"ws": "^7.4.2",
|
||||
"nanocolors": "^0.2.12"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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