Error handle
This commit is contained in:
parent
4e7066d972
commit
c873b613d3
@ -32,7 +32,7 @@ use nexus_core::{
|
|||||||
init_circuit_trace, key::CanonicalSerialize, pp::gen_vm_pp, prove_seq_step, types::*,
|
init_circuit_trace, key::CanonicalSerialize, pp::gen_vm_pp, prove_seq_step, types::*,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
use std::env;
|
// use std::env;
|
||||||
use zstd::stream::Encoder;
|
use zstd::stream::Encoder;
|
||||||
use rand::{ RngCore };
|
use rand::{ RngCore };
|
||||||
|
|
||||||
@ -125,10 +125,12 @@ async fn main() {
|
|||||||
)),
|
)),
|
||||||
};
|
};
|
||||||
|
|
||||||
client
|
if let Err(e) = client
|
||||||
.send(Message::Binary(registration.encode_to_vec()))
|
.send(Message::Binary(registration.encode_to_vec()))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
{
|
||||||
|
eprintln!("Failed to send message: {:?}", e);
|
||||||
|
}
|
||||||
|
|
||||||
track(
|
track(
|
||||||
"register".into(),
|
"register".into(),
|
||||||
|
Loading…
Reference in New Issue
Block a user