Esempio n. 1
0
 def __exception_handler(_, context):
     exc = context.get('exception')
     if not isinstance(exc, OpenSSL.SSL.SysCallError):
         logger.exception(exc)
Esempio n. 2
0
 def exception_handler(self, _, context):
     exc = context.get('exception')
     # See https://github.com/horazont/aioopenssl/issues/2
     if not isinstance(exc, OpenSSL.SSL.SysCallError):
         logger.exception(exc)