Commit e0c0166b authored by Alexandre's avatar Alexandre
Browse files

Print IP on failed test with --check

parent 79929c62
......@@ -289,6 +289,7 @@ class Connection:
self.dot = dot
self.verbose = verbose
self.insecure = insecure
self.connect_to = connect
def __str__(self):
return self.server
......@@ -581,6 +582,8 @@ def print_result(connection, request, prefix=None, display_err=True):
else:
if not monitoring:
if display_err:
if check:
print(connection.connect_to, end=': ', file=sys.stderr)
if prefix:
print(prefix, end=': ', file=sys.stderr)
if dot:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment