diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-14 16:42:14 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-14 16:42:14 +0100 |
commit | 8781d3e225877908e264128c307cb153e594431f (patch) | |
tree | 97095c901fb45e80bc80ce06d101f339360180b5 /hbak_common | |
parent | c2e176f86a0c9a2f4f3e681969d93f8f472eb89d (diff) |
debug: print whether TxError sending returns
Diffstat (limited to 'hbak_common')
-rw-r--r-- | hbak_common/src/conn.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hbak_common/src/conn.rs b/hbak_common/src/conn.rs index e50d868..e97c2b2 100644 --- a/hbak_common/src/conn.rs +++ b/hbak_common/src/conn.rs @@ -449,10 +449,13 @@ impl StreamConn<Active> { while match send_chunk(&stream_conn.read().unwrap(), &mut r) { Ok(is_data_left) => is_data_left, Err(e) => { + println!("[dbg] txerr"); stream_conn .read() .unwrap() - .send_message(&StreamMessage::End(Err(RemoteError::TxError)))?; + .send_message(&StreamMessage::End(Err(RemoteError::TxError))) + .ok(); + println!("[dbg] txret"); return Err(e); } } {} |