Skip to content

Commit 285efb7

Browse files
committed
MB-35279 Improve logging around SSL connection problems
Change-Id: Id6a94bfc57391b432e185fe5e5fa8e41da23165f Reviewed-on: http://review.couchbase.org/112503 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Toby Wilds <toby.wilds@couchbase.com>
1 parent d33ba6f commit 285efb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cluster_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def g(*args, **kwargs):
4545
'certificates set up in your cluster and use the --cacert flag to specify\n' +
4646
'your client certificate.']
4747
elif str(e).startswith('[SSL]'):
48-
return None, ['Unable to connect with the given CA certificate']
48+
return None, [f'Unable to connect with the given CA certificate: {str(e)}']
4949
return None, [f'Unable to connect to host at {cm.hostname}']
5050
except requests.exceptions.ReadTimeout as e:
5151
return None, [f'Request to host `{url}` timed out after {cm.timeout} seconds']

0 commit comments

Comments
 (0)