diff --git a/libraries/entropy/services/interfaces.py b/libraries/entropy/services/interfaces.py index 773f53175..d56653818 100644 --- a/libraries/entropy/services/interfaces.py +++ b/libraries/entropy/services/interfaces.py @@ -1505,11 +1505,11 @@ class SocketHost: self.__output = None self.SSL = {} self.SSL_exceptions = {} - self.SSL_exceptions['WantReadError'] = None - self.SSL_exceptions['WantWriteError'] = None - self.SSL_exceptions['WantX509LookupError'] = None - self.SSL_exceptions['ZeroReturnError'] = None - self.SSL_exceptions['SysCallError'] = None + self.SSL_exceptions['WantReadError'] = DumbException + self.SSL_exceptions['WantWriteError'] = DumbException + self.SSL_exceptions['WantX509LookupError'] = DumbException + self.SSL_exceptions['ZeroReturnError'] = DumbException + self.SSL_exceptions['SysCallError'] = DumbException self.SSL_exceptions['Error'] = [] self.last_print = '' self.valid_commands = {} diff --git a/libraries/entropy/services/ugc/interfaces.py b/libraries/entropy/services/ugc/interfaces.py index bb205dc61..51570aa7a 100644 --- a/libraries/entropy/services/ugc/interfaces.py +++ b/libraries/entropy/services/ugc/interfaces.py @@ -1754,12 +1754,12 @@ class Client: # SSL Support self.SSL = {} self.SSL_exceptions = { - 'WantReadError': None, - 'WantWriteError': None, - 'WantX509LookupError': None, - 'ZeroReturnError': None, - 'Error': None, - 'SysCallError': None + 'WantReadError': DumbException, + 'WantWriteError': DumbException, + 'WantX509LookupError': DumbException, + 'ZeroReturnError': DumbException, + 'Error': DumbException, + 'SysCallError': DumbException, } self.ssl = ssl self.pyopenssl = True