Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup
Browse files Browse the repository at this point in the history
KillTheMule committed Feb 3, 2019
1 parent a6f59d8 commit c3f50a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/rpc/client.rs
Original file line number Diff line number Diff line change
@@ -257,16 +257,15 @@ where
Ok(model::RpcMessage::RpcNotification { method, params }) => {
handler.handle_notify(&method, params);
}
Ok(_) => {
error!("Handler threat does not handle notifications!");
Ok(model::RpcMessage::RpcResponse) => {
error!("Handler threat does not handle responses!");
}
Err(e) => {
debug!("Error receiving request data: {:?}", e);
}
}
});
let iojoin = thread::spawn(move || loop {
error!("Beginning of io-loop!");
let msg = match model::decode(&mut reader) {
Ok(msg) => msg,
Err(e) => {

0 comments on commit c3f50a6

Please sign in to comment.