Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:

1 changed file:

Changes:

  • nbxmpp/tcp.py
    ... ... @@ -286,6 +286,13 @@ class TCPConnection(Connection):
    286 286
                 self._log.error('Write Error: %s', error)
    
    287 287
                 return
    
    288 288
     
    
    289
    +        except RuntimeError as error:
    
    290
    +            # PyGObject raises a RuntimeError when it failed to for some reason
    
    291
    +            # to convert the GError. Why it failed to convert is printed by
    
    292
    +            # PyGObject
    
    293
    +            self._log.error(error)
    
    294
    +            return
    
    295
    +
    
    289 296
             data = data.decode()
    
    290 297
             self._log_stanza(data, received=False)
    
    291 298