Skip to content

Commit 38ba255

Browse files
committed
disable eslint rule for hub's call to client captureException
1 parent 3fc6eb2 commit 38ba255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/hub.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export class Hub implements HubInterface {
187187
const eventId = (this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4());
188188
const syntheticException = new Error('Sentry syntheticException');
189189
this._withClient((client, scope) => {
190+
// eslint-disable-next-line @sentry-internal/sdk/captureException-from-core
190191
client.captureException(
191192
exception,
192193
{

0 commit comments

Comments
 (0)