log reason for bind failure

This commit is contained in:
Daniel Gultsch 2016-03-11 09:01:40 +01:00
parent 9548f43998
commit 817d344521
1 changed files with 2 additions and 2 deletions

View File

@ -915,11 +915,11 @@ public class XmppConnection implements Runnable {
sendPostBindInitialization();
}
} else {
Log.d(Config.LOGTAG, account.getJid() + ": disconnecting because of bind failure");
Log.d(Config.LOGTAG, account.getJid() + ": disconnecting because of bind failure. (no jid)");
disconnect(true);
}
} else {
Log.d(Config.LOGTAG, account.getJid() + ": disconnecting because of bind failure");
Log.d(Config.LOGTAG, account.getJid() + ": disconnecting because of bind failure ("+packet.toString());
disconnect(true);
}
}