summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-10 18:31:36 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-10 18:31:36 +1100
commit8a31d667427dbdadcefeb73a564bef6137464bc5 (patch)
tree68301bbc26bf71cf21f4b125682d243c70f92e3f /src/util
parentAdd back include_url param to reg tokens (diff)
downloadserver-8a31d667427dbdadcefeb73a564bef6137464bc5.tar.xz
Add sentry close to sigterm handler
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util/Sentry.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/util/Sentry.ts b/src/util/util/Sentry.ts
index 3e7bb97b..15a18fdc 100644
--- a/src/util/util/Sentry.ts
+++ b/src/util/util/Sentry.ts
@@ -99,4 +99,8 @@ export const Sentry = {
 			res.end(res.sentry + "\n");
 		});
 	},
+
+	close: () => {
+		SentryNode.close();
+	},
 };