aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-09 13:40:08 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-09 13:40:08 +0200
commit26044ca229c48dd6e3e9da664ef82813ea69bc7c (patch)
treef60b6515f795adef13b11311e2da4c1e74010dc2 /src/main/java/eu
parentef1429c9a6983c101da41a277bd9353374dc89e7 (diff)
print stack trace instead of writing error message to log in case of unknown exception in dnsutil
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/DNSHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/DNSHelper.java b/src/main/java/eu/siacs/conversations/utils/DNSHelper.java
index 06426340..5a47bb3c 100644
--- a/src/main/java/eu/siacs/conversations/utils/DNSHelper.java
+++ b/src/main/java/eu/siacs/conversations/utils/DNSHelper.java
@@ -132,7 +132,7 @@ public class DNSHelper {
} catch (SocketTimeoutException e) {
bundle.putString("error", "timeout");
} catch (Exception e) {
- Log.d(Config.LOGTAG,e.getMessage());
+ e.printStackTrace();
bundle.putString("error", "unhandled");
}
return bundle;