mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 14:04:55 +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
|
FLUTTER=3.24.2
|
||||||
PYVER=3.12.6
|
PYVER=3.12.7
|
||||||
|
@ -505,8 +505,13 @@ class ConnectionNode(RpcNode):
|
|||||||
raise ChildResetException(str(e))
|
raise ChildResetException(str(e))
|
||||||
raise
|
raise
|
||||||
except Exception as e: # TODO: Replace with ConnectionError once added
|
except Exception as e: # TODO: Replace with ConnectionError once added
|
||||||
if "Wrong" in str(e):
|
words = str(e).split()
|
||||||
raise ChildResetException(str(e))
|
try:
|
||||||
|
word = words[words.index("Wrong") + 1]
|
||||||
|
if word in ("nonce", "channel", "sequence"):
|
||||||
|
raise ChildResetException(str(e))
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
raise
|
raise
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user