json-friendly debug messages. fix #659
This commit is contained in:
@@ -397,7 +397,7 @@ class Interface(threading.Thread):
|
||||
print_error("certificate has expired:", cert_path)
|
||||
os.unlink(cert_path)
|
||||
else:
|
||||
print_msg("wrong certificate", self.host)
|
||||
print_error("wrong certificate", self.host)
|
||||
return
|
||||
except Exception:
|
||||
print_error("wrap_socket failed", self.host)
|
||||
|
||||
Reference in New Issue
Block a user