Skip to content

Commit c3f50a6

Browse files
committed
Cleanup
1 parent a6f59d8 commit c3f50a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/rpc/client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,16 +257,15 @@ where
257257
Ok(model::RpcMessage::RpcNotification { method, params }) => {
258258
handler.handle_notify(&method, params);
259259
}
260-
Ok(_) => {
261-
error!("Handler threat does not handle notifications!");
260+
Ok(model::RpcMessage::RpcResponse) => {
261+
error!("Handler threat does not handle responses!");
262262
}
263263
Err(e) => {
264264
debug!("Error receiving request data: {:?}", e);
265265
}
266266
}
267267
});
268268
let iojoin = thread::spawn(move || loop {
269-
error!("Beginning of io-loop!");
270269
let msg = match model::decode(&mut reader) {
271270
Ok(msg) => msg,
272271
Err(e) => {

0 commit comments

Comments
 (0)