Fixes: b326503f8176 ("ovn-detrace: Support SSL remotes.")
Signed-off-by: Dumitru Ceara <[email protected]>
---
utilities/ovn-detrace.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/utilities/ovn-detrace.in b/utilities/ovn-detrace.in
index 2344f52..1dd98df 100755
--- a/utilities/ovn-detrace.in
+++ b/utilities/ovn-detrace.in
@@ -98,9 +98,12 @@ class OVSDB(object):
OVSDB.STREAM_TIMEOUT_MS)
if not error and strm:
break
+
+ sys.stderr.write('Unable to connect to {}, error: {}\n'.format(r,
+ os.strerror(error)))
strm = None
if not strm:
- raise Exception("Unable to connect to %s" % self.remote)
+ raise Exception('Unable to connect to %s' % self.remote)
rpc = jsonrpc.Connection(strm)
req = jsonrpc.Message.create_request('get_schema', [schema_name])
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev