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 Apr 3, 2023
1 parent 553852b commit 2a9f5d7
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 2a9f5d7

Please sign in to comment.