aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-03-23 07:16:19 +0000
committerBlaž Hrastnik2022-03-23 07:16:19 +0000
commit919ac7ba15ed8443c80429d0e439074b611e231c (patch)
treee224db8ae7cd231db6a02ac71cbb1d06dbca5a5a
parent3e78b8fdad953a14c9a4f815295dfc6ed75d409f (diff)
Handle RPC returning an invalid call
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 269ce13d..d8208eed 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -801,7 +801,7 @@ impl Application {
}
}
}
- e => unreachable!("{:?}", e),
+ Call::Invalid { id } => log::error!("LSP invalid method call id={:?}", id),
}
}