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

Commit

Permalink
Merge pull request #1039 from alexheretic/dispatch-error-log-msg
Browse files Browse the repository at this point in the history
Include message in dispatch error log line
  • Loading branch information
Xanewok authored Sep 5, 2018
2 parents 42c7b3c + c1e8258 commit 5fb225d
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 5fb225d

Please sign in to comment.