Skip to content
Snippets Groups Projects
Commit ea654257 authored by Evelyn Eastmond's avatar Evelyn Eastmond Committed by Eric Rosenbaum
Browse files

Adding error reporting from BLESesion in VM.

parent f948c762
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,11 @@ class ConnectionModal extends React.Component {
phase: 'connected'
});
});
this.props.vm.on('PERIPHERAL_ERROR', () => {
this.setState({
phase: 'error'
});
});
}
handleConnecting (peripheralId) {
this.props.vm.connectToPeripheral(this.props.extensionId, peripheralId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment