less chatty logging

This commit is contained in:
Aleksey Kladov 2018-12-22 15:09:08 +03:00
parent 696246af7f
commit 5c7e8f47a8

View file

@ -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 {