Logs an warning or error message when an IOWarning or IOError,
respectively, is caught.
An IOWarning is thrown when a socket read/write operation results in an
end-of-flow or hung-up condition, an IOError when an error event is
triggered for a socket.
Logs an warning or error message when an IOWarning or IOError, respectively, is caught.
An IOWarning is thrown when a socket read/write operation results in an end-of-flow or hung-up condition, an IOError when an error event is triggered for a socket.