Skip to content

Commit a29ceb8

Browse files
committed
Update handler
1 parent 69c96ea commit a29ceb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ public class GitHubCopilotBaseService {
187187
let localServer = CopilotLocalProcessServer(executionParameters: executionParams)
188188

189189
localServer.logMessages = UserDefaults.shared.value(for: \.gitHubCopilotVerboseLog)
190-
localServer.notificationHandler = { _, respond in
191-
respond(.timeout)
190+
localServer.notificationHandler = { notification, respond in
191+
respond(.handlerUnavailable(notification.method.rawValue))
192192
}
193193
let server = InitializingServer(server: localServer)
194194

0 commit comments

Comments
 (0)