Skip to content

Commit 2102ce1

Browse files
committed
refactor: avoid duplicating variable
1 parent 718ce7e commit 2102ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amazonq/src/lsp/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function getLspLogSettings(): { traceChannelEnabled: boolean; lspLogLevel
4747
export function sanitizeLogLevel(lspLogLevel: string): LspLogLevel {
4848
if (!isValidLspLogLevel(lspLogLevel)) {
4949
getLogger('amazonqLsp').warn(
50-
`Invalid log level for amazonq.lsp.logLevel: ${lspLogLevel}. Defaulting to 'info'.`
50+
`Invalid log level for ${lspSettingsSection}.logLevel: ${lspLogLevel}. Defaulting to 'info'.`
5151
)
5252
return 'info'
5353
}

0 commit comments

Comments
 (0)