update NetworkClient

This commit is contained in:
Adrien Piquerez 2020-05-22 11:17:33 +02:00
parent c11ee3269c
commit 6bce0a7b07
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class NetworkClient(configuration: xsbti.AppConfiguration, arguments: List[Strin
def onNotification(msg: JsonRpcNotificationMessage): Unit = {
def splitToMessage: Vector[(Level.Value, String)] =
(msg.method, msg.params) match {
case ("window/logMessage", Some(json)) =>
case ("build/logMessage", Some(json)) =>
import sbt.internal.langserver.codec.JsonProtocol._
Converter.fromJson[LogMessageParams](json) match {
case Success(params) => splitLogMessage(params)