Skip to content

Commit

Permalink
Add err return
Browse files Browse the repository at this point in the history
  • Loading branch information
rmn-boiko committed Oct 23, 2024
1 parent 7417c37 commit f379e51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/adapter/http/src/smart_protocol/ws_tungstenite_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,12 @@ impl WsSmartTransferProtocolClient {
}
res = &mut export_task => {
let join_res = res.int_err()?;
if let Err(task_err) = join_res {
if join_res.is_err() {
tracing::error!(
"File transfer failed, error is {:?}",
task_err
join_res
);
join_res?;
}
break;
}
Expand Down

0 comments on commit f379e51

Please sign in to comment.