From d1564606d915cb15a5c4038d31c10dec0d37b441 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Aug 2021 14:46:59 +0100 Subject: [PATCH] minor message changes Signed-off-by: Ian Jackson --- src/bin/client.rs | 2 +- src/config.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/client.rs b/src/bin/client.rs index d5fce6f..9c2f297 100644 --- a/src/bin/client.rs +++ b/src/bin/client.rs @@ -118,7 +118,7 @@ fn submit_request<'r, 'c:'r, C:HCC>( as_ref, ).map(|b| b.len()).sum(); - trace!("{} #{}: req; tx bytes={} frames={}", + trace!("{} #{}: req; tx body_len={} frames={}", &c.ic, req_num, body_len, upbound.len()); let body = hyper::body::Body::wrap_stream( diff --git a/src/config.rs b/src/config.rs index 41ae047..abdc573 100644 --- a/src/config.rs +++ b/src/config.rs @@ -263,8 +263,9 @@ impl Aggregate { )? }; if ! skl.contains(&sn, self.end) { - throw!(anyhow!("configuration key {:?} not applicable \ - in this kind of section: {}", key, &sn)) + throw!(anyhow!( + "configuration key {:?} not applicable in this kind of section: {}", + key, &sn)) } } -- 2.30.2