From c538081de68de9c214e003d3c63a434f1bc01eb0 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 18 Dec 2024 07:42:30 +0000 Subject: [PATCH] cleanup --- src/handler.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/handler.ts b/src/handler.ts index 4725aac..d617569 100644 --- a/src/handler.ts +++ b/src/handler.ts @@ -1,7 +1,4 @@ import { EmitterWebhookEvent } from '@octokit/webhooks' - -import * as Sentry from '@sentry/browser' - import { GitHubBot } from './github.bot' export async function handleRequest(request: Request): Promise { @@ -23,7 +20,6 @@ export async function handleRequest(request: Request): Promise { const payload = await request.json() await bot.processRequest(payload) - await Sentry.close() return new Response(null, { headers: { 'x-worker-metadata-id': CF_VERSION_METADATA.id }, })