This commit is contained in:
Dain Nilsson 2024-10-23 15:21:46 +02:00
commit 1727cd9482
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
2 changed files with 8 additions and 3 deletions

View File

@ -1,2 +1,2 @@
FLUTTER=3.24.2
PYVER=3.12.6
PYVER=3.12.7

View File

@ -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):
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