Browse Source

handle thing that apparently errored beyond my expectations

pull/129/head
jake 2 years ago
parent
commit
960e9f367e
  1. 4
      src/common/mainloop/client.rs

4
src/common/mainloop/client.rs

@ -275,7 +275,9 @@ where
cipher_out = Some(cout); cipher_out = Some(cout);
}, },
OnConnect::Packet(pkt) => { OnConnect::Packet(pkt) => {
send_pkt(&mut socket, &mut NullCipher {}, &pkt).await.unwrap();
if let Err(err) = send_pkt(&mut socket, &mut NullCipher {}, &pkt).await {
error!("error sending on_connect packet {:?}", err);
}
} }
} }
} }

Loading…
Cancel
Save