From 765f74a7d06808eb8c15bc88106c847efcbfb3e1 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Wed, 2 Mar 2022 18:57:53 -0800 Subject: [PATCH] fix backticks --- packages/core/src/basebackend.ts | 4 ++-- packages/hub/src/sessionflusher.ts | 2 +- packages/nextjs/src/utils/withSentry.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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