Skip to content

Commit 0e3e632

Browse files
committed
Ignore empty lines
Fixes #67
1 parent 19f00a5 commit 0e3e632

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/raw_client.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,11 @@ impl<S: Read + Write> RawClient<S> {
486486
}
487487
return Err(Error::SharedIOError(error));
488488
}
489-
trace!("<== {}", raw_resp);
489+
trace!("<== {:?}", raw_resp);
490+
491+
if raw_resp.is_empty() {
492+
continue;
493+
}
490494

491495
let resp: serde_json::Value = serde_json::from_str(&raw_resp)?;
492496

0 commit comments

Comments
 (0)