mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Suggest --ssl-insecure cause --insecure is deprecated
This commit is contained in:
parent
22347d48e9
commit
ec9b8bf1eb
@ -131,7 +131,7 @@ class ConnectionHandler:
|
||||
self.log(repr(e), "debug")
|
||||
elif isinstance(e, exceptions.InvalidServerCertificate):
|
||||
self.log(str(e), "warn")
|
||||
self.log("Invalid certificate, closing connection. Pass --insecure to disable validation.", "warn")
|
||||
self.log("Invalid certificate, closing connection. Pass --ssl-insecure to disable validation.", "warn")
|
||||
else:
|
||||
self.log(str(e), "warn")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user