1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-16 08:34:54 +02:00

Add Logger to JavaxResolver

This commit is contained in:
Florian Schmaus 2019-02-16 10:03:05 +01:00
parent ac9641f091
commit eccaf58df1

View file

@ -53,7 +53,7 @@ public class JavaxResolver extends DNSResolver implements SmackInitializer {
try {
dirContext = new InitialDirContext();
} catch (Exception e) {
// Ignore.
LOGGER.log(Level.SEVERE, "Could not construct InitialDirContext", e);
}
// Try to set this DNS resolver as primary one