diff --git a/aquatic_http_load_test/src/network.rs b/aquatic_http_load_test/src/network.rs index 0c8d02f..75f5131 100644 --- a/aquatic_http_load_test/src/network.rs +++ b/aquatic_http_load_test/src/network.rs @@ -237,7 +237,7 @@ impl Connection { "deserialize response error with {} bytes read: {:?}, text: {}", buffer_position, err, - String::from_utf8_lossy(interesting_bytes) + interesting_bytes.escape_ascii() ); } }