Skip to content

Commit

Permalink
Update src/lib/metrics/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Tolok <[email protected]>
  • Loading branch information
wa0x6e and Todmy authored Sep 12, 2023
1 parent bdaf09b commit c7d9ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/metrics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function initMetrics(app: Express) {
/^\/api\/moderation$/,
/^\/(webhook|sentry)$/
],
errorHandler: (e: any) => capture(e)
errorHandler: capture
});
}

Expand Down

0 comments on commit c7d9ff9

Please sign in to comment.