better debug print
This commit is contained in:
parent
30352695b2
commit
b4c4d2b26b
|
@ -667,6 +667,8 @@ class Connection:
|
|||
_('Check your connection or try again later')))
|
||||
return None, None
|
||||
|
||||
gajim.log.debug('Connected to server with %s', con_type)
|
||||
|
||||
self.dispatch('CON_TYPE', con_type) # notify the gui about con_type
|
||||
|
||||
con.RegisterHandler('message', self._messageCB)
|
||||
|
@ -699,8 +701,6 @@ class Connection:
|
|||
con.RegisterHandler('message', self._StanzaArrivedCB)
|
||||
con.RegisterEventHandler(self._event_dispatcher)
|
||||
|
||||
gajim.log.debug('Connected to server')
|
||||
|
||||
try:
|
||||
#FIXME: blocking
|
||||
auth = con.auth(name, self.password, resource, 1)
|
||||
|
|
Loading…
Reference in New Issue