We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe15fc5 commit 8c04316Copy full SHA for 8c04316
src/tarantool/response.py
@@ -178,7 +178,7 @@ def _unpack_body(self, buff):
178
179
# In case of an error unpack the body as an error message
180
if self._return_code != 0:
181
- self._return_message = unicode(buff.value, "utf8", "replace")
+ self._return_message = unicode(buff[4:-1], "utf8", "replace")
182
if self._completion_status == 2:
183
raise DatabaseError(self._return_code, self._return_message)
184
0 commit comments