more logging
This commit is contained in:
parent
5ef291bd5d
commit
8cab24104c
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,7 @@ pub async fn send_to_wc_task(
|
|||
is_closed: Arc<AtomicBool>,
|
||||
mut sender: SplitSink<WebSocketStream<MaybeTlsStream<TcpStream>>, tokio_tungstenite::tungstenite::Message>
|
||||
) {
|
||||
info!("From app is closed: {:?}", from_app.is_closed());
|
||||
while let Ok(msg) = from_app.recv().await {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
|
@ -131,6 +132,8 @@ pub async fn listen_to_ws_task(
|
|||
mut reader: SplitStream<WebSocketStream<MaybeTlsStream<TcpStream>>>
|
||||
){
|
||||
|
||||
info!("To_app is closed: {:?}", to_app.is_closed());
|
||||
|
||||
while let Some(msg) = reader.next().await {
|
||||
match msg {
|
||||
Err(e) => {
|
||||
|
|
Loading…
Reference in a new issue