http load test: use log crate for logging deserialization errors

This commit is contained in:
Joakim Frostegård 2022-04-11 01:19:22 +02:00
parent db79adc13b
commit 7553a29416

View file

@ -233,7 +233,7 @@ impl Connection {
break; break;
} }
Err(err) => { Err(err) => {
eprintln!( ::log::warn!(
"deserialize response error with {} bytes read: {:?}, text: {}", "deserialize response error with {} bytes read: {:?}, text: {}",
buffer_position, buffer_position,
err, err,