mirror of
https://github.com/status-im/status-keycard-go.git
synced 2025-02-07 12:03:30 +00:00
abort if context fails to start or terminal missing
This commit is contained in:
parent
cd9383e103
commit
145e332f9f
2
flow.go
2
flow.go
@ -183,7 +183,7 @@ func (f *KeycardFlow) connect() (*keycardContext, error) {
|
|||||||
kc, err := startKeycardContext()
|
kc, err := startKeycardContext()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, restartErr()
|
return nil, errors.New(ErrorConnection)
|
||||||
}
|
}
|
||||||
|
|
||||||
f.pause(InsertCard, ErrorConnection, FlowParams{})
|
f.pause(InsertCard, ErrorConnection, FlowParams{})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user