mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
Merge PR #1716
This commit is contained in:
commit
1727cd9482
2
.github/workflows/env
vendored
2
.github/workflows/env
vendored
@ -1,2 +1,2 @@
|
||||
FLUTTER=3.24.2
|
||||
PYVER=3.12.6
|
||||
PYVER=3.12.7
|
||||
|
@ -505,8 +505,13 @@ class ConnectionNode(RpcNode):
|
||||
raise ChildResetException(str(e))
|
||||
raise
|
||||
except Exception as e: # TODO: Replace with ConnectionError once added
|
||||
if "Wrong" in str(e):
|
||||
raise ChildResetException(str(e))
|
||||
words = str(e).split()
|
||||
try:
|
||||
word = words[words.index("Wrong") + 1]
|
||||
if word in ("nonce", "channel", "sequence"):
|
||||
raise ChildResetException(str(e))
|
||||
except ValueError:
|
||||
pass
|
||||
raise
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user