We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bdb90 commit 6a2659dCopy full SHA for 6a2659d
CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
### Changed
13
14
### Fixed
15
+- Error code on socket error (#279).
16
17
## 0.11.0 - 2022-12-31
18
tarantool/connection.py
@@ -1168,7 +1168,7 @@ def check(): # Check that connection is alive
1168
sock_fd = self._socket.fileno()
1169
except socket.error as e:
1170
if e.errno == errno.EBADF:
1171
- return errno.ECONNRESETtuple_value
+ return errno.ECONNRESET
1172
else:
1173
if os.name == 'nt':
1174
flag = socket.MSG_PEEK
0 commit comments