Skip to content

chore(lint): Fix backticks around non-template strings #4675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/core/src/basebackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export abstract class BaseBackend<O extends Options> 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);
}
});
}
Expand All @@ -111,7 +111,7 @@ export abstract class BaseBackend<O extends Options> 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);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/hub/src/sessionflusher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/src/utils/withSentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,6 @@ async function finishSentryProcessing(res: AugmentedNextApiResponse): Promise<vo
await flush(2000);
logger.log('Done flushing events');
} catch (e) {
logger.log(`Error while flushing events:\n`, e);
logger.log('Error while flushing events:\n', e);
}
}