Skip to content

Commit

Permalink
Update src/lib/drivers/zenoh/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: João Antônio Cardoso <[email protected]>
  • Loading branch information
patrickelectric and joaoantoniocardoso authored Nov 8, 2024
1 parent 080838c commit e2697b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/drivers/zenoh/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ impl Driver for Zenoh {

tokio::select! {
result = Zenoh::send_task(&context, session.clone()) => {
if let Err(e) = result {
error!("Error in rest sender task: {e:?}");
if let Err(error) = result {
error!("Error in send task: {error:?}");
}
}
result = Zenoh::receive_task(&context, session) => {
if let Err(e) = result {
error!("Error in rest receive task: {e:?}");
if let Err(error) = result {
error!("Error in receive task: {error:?}");
}
}
}
Expand Down

0 comments on commit e2697b9

Please sign in to comment.