mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http load test: use log crate for logging deserialization errors
This commit is contained in:
parent
db79adc13b
commit
7553a29416
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue