aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-22 12:09:08 +0000
committerAleksey Kladov <[email protected]>2018-12-22 12:09:08 +0000
commit5c7e8f47a8318e744b8e5d5bcb127ca9753ca04b (patch)
treea76a8e9b9eaa7ca877fcc03440f303548113d526 /crates/ra_lsp_server/src/main_loop.rs
parent696246af7f4d17054c1caa80592cc0b858746260 (diff)
less chatty logging
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index 84f88eeff..565ec92af 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -136,6 +136,13 @@ impl fmt::Debug for Event {
136 return debug_verbose_not(not, f); 136 return debug_verbose_not(not, f);
137 } 137 }
138 } 138 }
139 Event::Task(Task::Respond(resp)) => {
140 return f
141 .debug_struct("RawResponse")
142 .field("id", &resp.id)
143 .field("error", &resp.error)
144 .finish();
145 }
139 _ => (), 146 _ => (),
140 } 147 }
141 match self { 148 match self {