1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-21 19:42:05 +01: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