Skip to content

Commit

Permalink
Add error logging for bluetooth connection failure (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert authored Dec 4, 2024
1 parent 0bbd3b1 commit 86cbb6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bluetooth-device-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ export const createBluetoothDeviceWrapper = async (
await bluetooth.connect();
return bluetooth;
} catch (e) {
logging.error("Bluetooth connect error", e);
return undefined;
}
};

0 comments on commit 86cbb6a

Please sign in to comment.