Catching SSLError, and using logger.warning while throwing exception. Developer can choose whether to log exception in their application log.