File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 18
18
# However, if you have executed another commercial license agreement
19
19
# with Crate these terms will supersede the license and you may use the
20
20
# software solely pursuant to the terms of the relevant commercial agreement.
21
+ import json
21
22
22
23
from verlib2 import Version
23
24
from verlib2 .packaging .version import InvalidVersion
@@ -212,7 +213,7 @@ def _lowest_server_version(self):
212
213
if not lowest or version < lowest :
213
214
lowest = version
214
215
if connection_errors and len (connection_errors ) == server_count :
215
- raise ConnectionError (str ( connection_errors ))
216
+ raise ConnectionError (json . dumps ( list ( map ( str , connection_errors )) ))
216
217
return lowest or Version ("0.0.0" )
217
218
218
219
def __repr__ (self ):
You can’t perform that action at this time.
0 commit comments