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

Commit 5fb225d

Browse files
authored
Merge pull request #1039 from alexheretic/dispatch-error-log-msg
Include message in dispatch error log line
2 parents 42c7b3c + c1e8258 commit 5fb225d

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)