Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Sep 15, 2023
1 parent 5770845 commit db02bad
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ function createSentryInstance(enabled: boolean, integration: string) {
hub.setTag('node', process.version);
hub.setTag('platform', process.platform);

client.on('beforeSendEvent', (event) => {
console.log('beforeSendEvent', event.type ?? 'error');
});
client.on('afterSendEvent', (event) => {
console.log('afterSendEvent', event.type ?? 'error');
});

return { sentryHub: hub, sentryClient: client };
}

Expand Down

0 comments on commit db02bad

Please sign in to comment.