Skip to content

Commit 36eecb5

Browse files
Kuuuubeqdot
authored andcommitted
chore: Make StartScanning error more helpful
1 parent ac0e5c5 commit 36eecb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/buttplug_server_hwmgr_btleplug/src/btleplug_adapter_task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl BtleplugAdapterTask {
258258
BtleplugAdapterCommand::StartScanning => {
259259
tried_addresses.clear();
260260
if let Err(err) = adapter.start_scan(ScanFilter::default()).await {
261-
error!("Start scanning request failed: {}", err);
261+
error!("Start scanning request failed. Ensure Bluetooth is enabled and permissions are granted: {}", err);
262262
}
263263
}
264264
BtleplugAdapterCommand::StopScanning => {

0 commit comments

Comments
 (0)