Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Dec 18, 2024
1 parent 542641d commit c538081
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/handler.ts
Original file line number Diff line number Diff line change
@@ -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<Response> {
Expand All @@ -23,7 +20,6 @@ export async function handleRequest(request: Request): Promise<Response> {
const payload = await request.json<EmitterWebhookEvent['payload']>()
await bot.processRequest(payload)

await Sentry.close()
return new Response(null, {
headers: { 'x-worker-metadata-id': CF_VERSION_METADATA.id },
})
Expand Down

0 comments on commit c538081

Please sign in to comment.