aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/utils
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-03 10:41:21 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-03 10:41:21 +0200
commit01925fb2cc977e7c929c859e78d1fb2f7c531369 (patch)
tree15fd4571bb5c148606573496dcc902036fd087eb /src/eu/siacs/conversations/utils
parent2b8dfc2babfdbb9d63ddd3f83326940d5ed5817c (diff)
tryping to resolve the wake lock bug
Diffstat (limited to 'src/eu/siacs/conversations/utils')
-rw-r--r--src/eu/siacs/conversations/utils/DNSHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/utils/DNSHelper.java b/src/eu/siacs/conversations/utils/DNSHelper.java
index eb9680e9..cbd0c3cc 100644
--- a/src/eu/siacs/conversations/utils/DNSHelper.java
+++ b/src/eu/siacs/conversations/utils/DNSHelper.java
@@ -128,9 +128,9 @@ public class DNSHelper {
} catch (SocketTimeoutException e) {
Log.d("xmppService", "timeout during dns");
namePort.putString("error", "timeout");
- } catch (IOException e) {
- Log.d("xmppService","io exception during dns");
- namePort.putString("error", "timeout");
+ } catch (Exception e) {
+ Log.d("xmppService","unhandled exception in sub project");
+ namePort.putString("error", "unhandled");
}
return namePort;
}