From 5c7e8f47a8318e744b8e5d5bcb127ca9753ca04b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 Dec 2018 15:09:08 +0300 Subject: less chatty logging --- crates/ra_lsp_server/src/main_loop.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crates') 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 { 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 { -- cgit v1.2.3