Skip to content

Commit

Permalink
chore: remove unneeded @ts-expect-error directive
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Jun 1, 2024
1 parent 61a275f commit de4fb66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ export default class SentryMiddleware {
scope.setTag('url', ctx.request.url())

ctx.sentry = scope

// @ts-expect-error - SentrySDK Scope interface seems broken
ctx.containerResolver.bindValue(Sentry, ctx.sentry)

await SentrySDK.startSpan(
Expand Down

0 comments on commit de4fb66

Please sign in to comment.