From 919ac7ba15ed8443c80429d0e439074b611e231c Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 23 Mar 2022 16:16:19 +0900 Subject: Handle RPC returning an invalid call --- helix-term/src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/application.rs') 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), } } -- cgit v1.2.3-70-g09d2