This commit is contained in:
2024-07-05 17:49:53 -03:00
parent 3c01d76391
commit a71d8adcb3
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
__version__ = "4.1.0b2"
__version__ = "4.1.0b3"

View File

@ -610,7 +610,7 @@ class node:
endloop = True
break
else:
after = "Connection timeout" if results == 12 else child.after.decode()
after = "Connection timeout" if results_value == pexpect.TIMEOUT else child.after.decode()
return f"Connection failed code: {results}\n{child.before.decode().lstrip()}{after}{child.readline().decode()}".rstrip()
elif results in eof_indices[self.protocol]: