We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b74ce4b commit d22fde9Copy full SHA for d22fde9
src/crate/client/connection.py
@@ -18,6 +18,7 @@
18
# However, if you have executed another commercial license agreement
19
# with Crate these terms will supersede the license and you may use the
20
# software solely pursuant to the terms of the relevant commercial agreement.
21
+import json
22
23
from verlib2 import Version
24
from verlib2.packaging.version import InvalidVersion
@@ -212,7 +213,7 @@ def _lowest_server_version(self):
212
213
if not lowest or version < lowest:
214
lowest = version
215
if connection_errors and len(connection_errors) == server_count:
- raise ConnectionError(str(connection_errors))
216
+ raise ConnectionError(json.dumps(list(map(str, connection_errors))))
217
return lowest or Version("0.0.0")
218
219
def __repr__(self):
0 commit comments