We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792d9db commit 8f7bff3Copy full SHA for 8f7bff3
eventsource-client/src/event_parser.rs
@@ -180,7 +180,10 @@ impl EventParser {
180
}
181
182
pub fn process_bytes(&mut self, bytes: Bytes) -> Result<()> {
183
- trace!("Parsing bytes {:?}", bytes);
+ trace!(
184
+ "Parsing bytes {:?}",
185
+ from_utf8(&bytes).unwrap_or("<bad utf8>")
186
+ );
187
// We get bytes from the underlying stream in chunks. Decoding a chunk has two phases:
188
// decode the chunk into lines, and decode the lines into events.
189
//
0 commit comments