Skip to content

Commit 337080c

Browse files
committed
Change proxy execute err from Syntax err to Internal err.
1 parent a01336e commit 337080c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycovenantsql/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _read_query_result(self):
258258
def _read_ok_packet(self):
259259
self.server_status = self._resp_json["success"]
260260
if not self.server_status:
261-
raise err.OperationalError("Syntax error", self._resp_json["status"])
261+
raise err.InternalError("InternalError: ", self._resp_json["status"])
262262

263263
if not self._resp.ok:
264264
raise err.OperationalError("Proxy return false", self._resp.reason)

0 commit comments

Comments
 (0)