We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd0086 commit 80abad7Copy full SHA for 80abad7
1 file changed
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
@@ -216,7 +217,7 @@ def _lowest_server_version(self):
216
217
if not lowest or version < lowest:
218
lowest = version
219
if connection_errors and len(connection_errors) == server_count:
- raise ConnectionError(str(connection_errors))
220
+ raise ConnectionError(json.dumps(list(map(str, connection_errors))))
221
return lowest or Version("0.0.0")
222
223
def __repr__(self):
0 commit comments