Skip to content

Commit 82ef513

Browse files
committed
More debugging
1 parent 8f7bff3 commit 82ef513

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

eventsource-client/src/event_parser.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,13 @@ impl EventParser {
334334
self.complete_lines.push_back(il.unwrap());
335335
}
336336
_ => {
337-
trace!("other branch");
337+
trace!(
338+
"other branch, extending slice {:?} with {:?}",
339+
incomplete_line,
340+
line
341+
);
338342
incomplete_line.extend_from_slice(line);
343+
trace!("Now we have {:?}", incomplete_line);
339344
}
340345
};
341346
}

0 commit comments

Comments
 (0)