summary refs log tree commit diff
path: root/bundle/src
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-12-26 18:19:31 +0100
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-12-26 18:19:31 +0100
commit07768ecb68dcd2089ec5d025e1705fb5d31cbbae (patch)
tree3c38f5c49c67114fd31401fc6d67fd8844ec1aef /bundle/src
parentRestore package locks (diff)
downloadserver-07768ecb68dcd2089ec5d025e1705fb5d31cbbae.tar.xz
Add env name in sentry, set default sentry endpoint
Diffstat (limited to 'bundle/src')
-rw-r--r--bundle/src/Server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts
index 0d5e3d1f..83ce10c2 100644
--- a/bundle/src/Server.ts
+++ b/bundle/src/Server.ts
@@ -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());