print stack trace instead of writing error message to log in case of unknown exception in dnsutil

This commit is contained in:
Daniel Gultsch 2015-07-09 13:40:08 +02:00
parent ef1429c9a6
commit 26044ca229
1 changed files with 1 additions and 1 deletions

View File

@ -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;