Merge pull request #2227 from Clemo97/main

Replace fatalError with proper error handling for non-incremental
This commit is contained in:
Alex Hoppen
2025-08-05 12:14:33 +02:00
committed by GitHub

View File

@@ -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())