mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 23:54:07 +01:00
Socket: update logging text to flow better
This commit is contained in:
parent
aee7ac3583
commit
b344126318
@ -377,8 +377,8 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
||||
except ssl.CertificateError as e:
|
||||
drivers.log.error(('Certificate validation failed when '
|
||||
'connecting to %s: %s\n'
|
||||
'This means someone is doing a man-in-the-middle attack '
|
||||
'on your connection, or the server\'s certificate is '
|
||||
'This means either someone is doing a man-in-the-middle '
|
||||
'attack on your connection, or the server\'s certificate is '
|
||||
'not in your trusted fingerprints list.')
|
||||
% (self.irc.network, e.args[0]))
|
||||
raise ssl.SSLError('Aborting because of failed certificate '
|
||||
@ -386,8 +386,8 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
||||
except ssl.SSLError as e:
|
||||
drivers.log.error(('Certificate validation failed when '
|
||||
'connecting to %s: %s\n'
|
||||
'This means someone is doing a man-in-the-middle attack '
|
||||
'on your connection, or because the server\'s '
|
||||
'This means either someone is doing a man-in-the-middle '
|
||||
'attack on your connection, or the server\'s '
|
||||
'certificate is not trusted.')
|
||||
% (self.irc.network, e.args[1]))
|
||||
raise ssl.SSLError('Aborting because of failed certificate '
|
||||
|
Loading…
Reference in New Issue
Block a user