Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
MessageType.Error -> Level.ERROR
MessageType.Warning -> Level.WARN
MessageType.Info, MessageType.Log -> Level.INFO
else -> Level.WARN

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

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImpl.kt#L152

Added line #L152 was not covered by tests
}

if (type == Level.ERROR &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@
}
} else if (ProcessOutputType.isStderr(outputType)) {
LOG.warn { "LSP process stderr: ${event.text}" }
} else if (outputType == ProcessOutputType.SYSTEM) {
LOG.info { "LSP system events: ${event.text}" }

Check warning on line 124 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#L124

Added line #L124 was not covered by tests
}
}

override fun processTerminated(event: ProcessEvent) {
LOG.info { "LSP process terminated with exit code ${event.exitCode}" }

Check warning on line 129 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#L129

Added line #L129 was not covered by tests
try {
this.outputStreamWriter.close()
this.outputStream.close()
Expand Down
Loading