Update to Smack 3.2.1, provide more information for connection issues

This commit is contained in:
2011-09-19 17:21:28 +01:00
parent 57c355d563
commit efd4e2df7a
2 changed files with 3 additions and 3 deletions

View File

@@ -27,12 +27,12 @@
<dependency>
<groupId>jivesoftware</groupId>
<artifactId>smack</artifactId>
<version>3.1.0</version>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>jivesoftware</groupId>
<artifactId>smackx</artifactId>
<version>3.1.0</version>
<version>3.2.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

View File

@@ -116,7 +116,7 @@ public class BukkitXMPP extends JavaPlugin implements PacketListener {
muc.addMessageListener(this);
muc.addParticipantStatusListener(participantListener);
} catch (Exception e) {
log.warning("Error connecting to XMPP server " + server);
log.warning("Error connecting to XMPP server " + server + ": " + e.toString());
}
} else {
log.warning("Incomplete configration for XMPP server");