Skip to content

Commit

Permalink
feat(mosip#695): remove ble error handling form nearby scan machine
Browse files Browse the repository at this point in the history
  • Loading branch information
tilak-puli committed May 4, 2023
1 parent 93c079f commit 250360c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions machines/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,6 @@ export const scanMachine =
},
},

handlingBleError: {
on: {
DISMISS: {
target: '#request.clearingConnection',
},
},
},

invalid: {
on: {
DISMISS: {
Expand Down Expand Up @@ -759,11 +751,6 @@ export const scanMachine =
if (event.type === 'onDisconnected') {
callback({ type: 'DISCONNECT' });
}

if (event.type === 'onError') {
callback({ type: 'BLE_ERROR' });
console.error('BLE Exception: ' + event.message);
}
}
);

Expand Down

0 comments on commit 250360c

Please sign in to comment.