From efa4411f188e7245c9a52af361c590a62032cb83 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Tue, 10 Jan 2023 18:31:36 +1100 Subject: Add sentry close to sigterm handler --- src/util/util/Sentry.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util') 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(); + }, }; -- cgit 1.4.1