diff --git a/extensions/ql-vscode/src/contextual/queryResolver.ts b/extensions/ql-vscode/src/contextual/queryResolver.ts index 40f929781..08f0fe188 100644 --- a/extensions/ql-vscode/src/contextual/queryResolver.ts +++ b/extensions/ql-vscode/src/contextual/queryResolver.ts @@ -93,9 +93,9 @@ export async function resolveQueries( const keyTypeTag = tagOfKeyType(keyType); const joinedPacksToSearch = packsToSearch.join(", "); const error = redactableError`No ${keyTypeName} queries (tagged "${keyTypeTag}") could be found in the \ - current library path (tried searching the following packs: ${joinedPacksToSearch}). \ - Try upgrading the CodeQL libraries. If that doesn't work, then ${keyTypeName} queries are not yet available \ - for this language.`; +current library path (tried searching the following packs: ${joinedPacksToSearch}). \ +Try upgrading the CodeQL libraries. If that doesn't work, then ${keyTypeName} queries are not yet available \ +for this language.`; void showAndLogExceptionWithTelemetry(error); throw error;