client-demo:Be louder on reactor failure.

This commit is contained in:
Nick Mathewson 2020-10-09 11:27:52 -04:00
parent 800948c4cb
commit dfa5e08a33
1 changed files with 4 additions and 1 deletions

View File

@ -203,7 +203,10 @@ fn main() -> Result<()> {
let chan = connect(&guard).await?;
let (pendcirc, reactor) = chan.new_circ(&mut rng).await?;
async_std::task::spawn(async { reactor.run().await });
async_std::task::spawn(async {
let x = reactor.run().await;
eprintln!("Reactor exited and said {:?}", x);
});
// let mut circ = pendcirc.create_firsthop_fast(&mut rng).await?;
// info!("fast handshake with first hop was successful.");