Skip to content

Commit

Permalink
less chatty logging
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Dec 22, 2018
1 parent 696246a commit 5c7e8f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/ra_lsp_server/src/main_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ impl fmt::Debug for Event {
return debug_verbose_not(not, f);
}
}
Event::Task(Task::Respond(resp)) => {
return f
.debug_struct("RawResponse")
.field("id", &resp.id)
.field("error", &resp.error)
.finish();
}
_ => (),
}
match self {
Expand Down

0 comments on commit 5c7e8f4

Please sign in to comment.