Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit c1e8258

Browse files
committed
Include message in dispatch error log
1 parent 42c7b3c commit c1e8258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl<O: Output> LsService<O> {
329329
}
330330

331331
if let Err(e) = self.dispatch_message(&raw_message) {
332-
error!("dispatch error, {:?}", e);
332+
error!("dispatch error: {:?}, message: `{}`", e, msg_string);
333333
self.output.failure(raw_message.id, e);
334334
return ServerStateChange::Break { exit_code: 101 };
335335
}

0 commit comments

Comments
 (0)