You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/ProjectContextProvider.kt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -125,12 +125,9 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
125
125
} catch (e:Exception) {
126
126
if (e.stackTraceToString().contains("Connection refused")) {
127
127
if (encoderServer.isNodeProcessRunning()) {
128
-
// there is a chance that client throws java.net.ConnectException: Connection refused
129
-
// in this case, the server is busy doing tree sitter parsing
130
-
// and will be responsive later once it goes past the tree sitter parsing phrase.
131
-
// Long term solution is to move encode server to LSP protocol
132
128
return
133
129
} else {
130
+
logger.warn(e) { "project context process quit unexpectedly" }
0 commit comments