Skip to content

Commit f2b19f8

Browse files
authored
chore(lint): Fix backticks around non-template strings (#4675)
1 parent f8aeeea commit f2b19f8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/core/src/basebackend.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export abstract class BaseBackend<O extends Options> implements Backend {
9393
public sendEvent(event: Event): void {
9494
void this._transport.sendEvent(event).then(null, reason => {
9595
if (isDebugBuild()) {
96-
logger.error(`Error while sending event:`, reason);
96+
logger.error('Error while sending event:', reason);
9797
}
9898
});
9999
}
@@ -111,7 +111,7 @@ export abstract class BaseBackend<O extends Options> implements Backend {
111111

112112
void this._transport.sendSession(session).then(null, reason => {
113113
if (isDebugBuild()) {
114-
logger.error(`Error while sending session:`, reason);
114+
logger.error('Error while sending session:', reason);
115115
}
116116
});
117117
}

packages/hub/src/sessionflusher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class SessionFlusher implements SessionFlusherLike {
3939
return;
4040
}
4141
void this._transport.sendSession(sessionAggregates).then(null, reason => {
42-
logger.error(`Error while sending session:`, reason);
42+
logger.error('Error while sending session:', reason);
4343
});
4444
}
4545

packages/nextjs/src/utils/withSentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ async function finishSentryProcessing(res: AugmentedNextApiResponse): Promise<vo
188188
await flush(2000);
189189
logger.log('Done flushing events');
190190
} catch (e) {
191-
logger.log(`Error while flushing events:\n`, e);
191+
logger.log('Error while flushing events:\n', e);
192192
}
193193
}

0 commit comments

Comments
 (0)