diff --git a/packages/core/src/basebackend.ts b/packages/core/src/basebackend.ts index 3c6326c32e76..83aca1565c9f 100644 --- a/packages/core/src/basebackend.ts +++ b/packages/core/src/basebackend.ts @@ -93,7 +93,7 @@ export abstract class BaseBackend implements Backend { public sendEvent(event: Event): void { void this._transport.sendEvent(event).then(null, reason => { if (isDebugBuild()) { - logger.error(`Error while sending event:`, reason); + logger.error('Error while sending event:', reason); } }); } @@ -111,7 +111,7 @@ export abstract class BaseBackend implements Backend { void this._transport.sendSession(session).then(null, reason => { if (isDebugBuild()) { - logger.error(`Error while sending session:`, reason); + logger.error('Error while sending session:', reason); } }); } diff --git a/packages/hub/src/sessionflusher.ts b/packages/hub/src/sessionflusher.ts index a0fc31c97c74..e082060689fc 100644 --- a/packages/hub/src/sessionflusher.ts +++ b/packages/hub/src/sessionflusher.ts @@ -39,7 +39,7 @@ export class SessionFlusher implements SessionFlusherLike { return; } void this._transport.sendSession(sessionAggregates).then(null, reason => { - logger.error(`Error while sending session:`, reason); + logger.error('Error while sending session:', reason); }); } diff --git a/packages/nextjs/src/utils/withSentry.ts b/packages/nextjs/src/utils/withSentry.ts index b6db1d867d9e..7781c188c3d7 100644 --- a/packages/nextjs/src/utils/withSentry.ts +++ b/packages/nextjs/src/utils/withSentry.ts @@ -188,6 +188,6 @@ async function finishSentryProcessing(res: AugmentedNextApiResponse): Promise