aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/utils/DNSHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/utils/DNSHelper.java')
-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;
}