diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-07-09 13:40:08 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-07-09 13:40:08 +0200 |
commit | 26044ca229c48dd6e3e9da664ef82813ea69bc7c (patch) | |
tree | f60b6515f795adef13b11311e2da4c1e74010dc2 | |
parent | ef1429c9a6983c101da41a277bd9353374dc89e7 (diff) |
print stack trace instead of writing error message to log in case of unknown exception in dnsutil
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/DNSHelper.java | 2 |
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; |