Skip to content

Commit

Permalink
Include message in dispatch error log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Sep 5, 2018
1 parent 42c7b3c commit c1e8258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl<O: Output> LsService<O> {
}

if let Err(e) = self.dispatch_message(&raw_message) {
error!("dispatch error, {:?}", e);
error!("dispatch error: {:?}, message: `{}`", e, msg_string);
self.output.failure(raw_message.id, e);
return ServerStateChange::Break { exit_code: 101 };
}
Expand Down

0 comments on commit c1e8258

Please sign in to comment.