From 5c7e8f47a8318e744b8e5d5bcb127ca9753ca04b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 Dec 2018 15:09:08 +0300 Subject: [PATCH] less chatty logging --- crates/ra_lsp_server/src/main_loop.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 84f88eefff..565ec92af5 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 {