Skip to content

Commit

Permalink
fix: winrt: Return error when discovering services fails
Browse files Browse the repository at this point in the history
Prior to this commit, the `discover_services` method would return
`Ok(())` even if the underlying calls had failed.
  • Loading branch information
danielstuart14 authored and qdot committed Jan 1, 2024
1 parent 41bc777 commit 58ef36f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/winrtble/peripheral.rs
Expand Up @@ -454,6 +454,7 @@ impl ApiPeripheral for Peripheral {
}
Err(e) => {
error!("get_characteristics_async {:?}", e);
return Err(e);
}
}
}
Expand Down

0 comments on commit 58ef36f

Please sign in to comment.