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::*,
|
||||
},
|
||||
};
|
||||
use std::env;
|
||||
// use std::env;
|
||||
use zstd::stream::Encoder;
|
||||
use rand::{ RngCore };
|
||||
|
||||
@ -125,10 +125,12 @@ async fn main() {
|
||||
)),
|
||||
};
|
||||
|
||||
client
|
||||
if let Err(e) = client
|
||||
.send(Message::Binary(registration.encode_to_vec()))
|
||||
.await
|
||||
.unwrap();
|
||||
{
|
||||
eprintln!("Failed to send message: {:?}", e);
|
||||
}
|
||||
|
||||
track(
|
||||
"register".into(),
|
||||
|
Loading…
Reference in New Issue
Block a user