Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,13 @@
} catch (_: TimeoutCancellationException) {
LOG.warn { "LSP initialization timed out" }
null
} catch (e: Exception) {
LOG.warn(e) { "LSP initialization failed" }
null

Check warning on line 219 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt#L217-L219

Added lines #L217 - L219 were not covered by tests
}

// then if this succeeds then we can allow the client to send requests
if (initializeResult == null) {
LOG.warn { "LSP initialization failed" }
launcherHandler.destroyProcess()
}
languageServer.initialized(InitializedParams())
Expand Down
Loading