-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irc: user-friendly messages on connection error
These error are now managed with a more user-friendly message, and the exception is sent to the exception log file: * SSL certificate validation error * SSL generic error * Connection timeout (socket timeout, not IRC timeout) * Invalid hostname * Unable to connect (temporary disconnected, host unreachable, etc.) If we inspect the OSError's errno we could provide a more fine-grained error handling. We could, also, improve the connection retry for certain errors.
- Loading branch information
Showing
2 changed files
with
81 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters