Skip to content

Commit

Permalink
Add error logging for bluetooth connection failure
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Dec 4, 2024
1 parent 82d712b commit ab0133c
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 @@ -430,6 +430,7 @@ export const createBluetoothDeviceWrapper = async (
await bluetooth.connect();
return bluetooth;
} catch (e) {
logging.error("Bluetooth connect error", e);
return undefined;
}
};

0 comments on commit ab0133c

Please sign in to comment.