We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 024b2c7 commit 99b657bCopy full SHA for 99b657b
1 file changed
Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift
@@ -7,6 +7,7 @@ import OpenAIService
7
import SuggestionInjector
8
import SuggestionWidget
9
import XPCShared
10
+import LanguageServerProtocol
11
12
@ServiceActor
13
struct WindowBaseCommandHandler: SuggestionCommandHandler {
@@ -18,6 +19,8 @@ struct WindowBaseCommandHandler: SuggestionCommandHandler {
18
19
Task {
20
do {
21
try await _presentSuggestions(editor: editor)
22
+ } catch let error as ServerError {
23
+ Logger.service.error(error)
24
} catch {
25
presenter.presentError(error)
26
Logger.service.error(error)
0 commit comments