better debug print
This commit is contained in:
parent
30352695b2
commit
b4c4d2b26b
1 changed files with 3 additions and 3 deletions
|
@ -667,6 +667,8 @@ class Connection:
|
||||||
_('Check your connection or try again later')))
|
_('Check your connection or try again later')))
|
||||||
return None, None
|
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
|
self.dispatch('CON_TYPE', con_type) # notify the gui about con_type
|
||||||
|
|
||||||
con.RegisterHandler('message', self._messageCB)
|
con.RegisterHandler('message', self._messageCB)
|
||||||
|
@ -699,8 +701,6 @@ class Connection:
|
||||||
con.RegisterHandler('message', self._StanzaArrivedCB)
|
con.RegisterHandler('message', self._StanzaArrivedCB)
|
||||||
con.RegisterEventHandler(self._event_dispatcher)
|
con.RegisterEventHandler(self._event_dispatcher)
|
||||||
|
|
||||||
gajim.log.debug('Connected to server')
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
#FIXME: blocking
|
#FIXME: blocking
|
||||||
auth = con.auth(name, self.password, resource, 1)
|
auth = con.auth(name, self.password, resource, 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue