mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Merge pull request #2227 from Clemo97/main
Replace fatalError with proper error handling for non-incremental
This commit is contained in:
@@ -519,7 +519,7 @@ package actor SourceKitLSPServer {
|
||||
syncKind = .incremental
|
||||
}
|
||||
guard syncKind == .incremental else {
|
||||
fatalError("non-incremental update not implemented")
|
||||
throw ResponseError.internalError("non-incremental update not implemented")
|
||||
}
|
||||
|
||||
await service.clientInitialized(InitializedNotification())
|
||||
|
||||
Reference in New Issue
Block a user