mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-28 22:19:48 +00:00
Finally working
This commit is contained in:
1 parent
4a5bafcd41
commit
8bf1020c16
8 files changed
+108
-87
No files matched your search
@@ -148,7 +148,15 @@ impl StreamHandler<Result<ws::Message, ws::ProtocolError>> for NodeConnector {
|
||||
return;
|
||||
}
|
||||
Ok(ws::Message::Nop) => return,
|
||||
Err(error) => error!("{:?}", error),
|
||||
Ok(ws::Message::Continuation(_)) => {
|
||||
log::error!("Continuation not supported");
|
||||
return;
|
||||
}
|
||||
Err(error) => {
|
||||
log::error!("{:?}", error);
|
||||
ctx.stop();
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
match serde_json::from_slice(&data) {
|
||||
|
||||
Reference in new issue
Block a user