print stack trace instead of writing error message to log in case of unknown exception in dnsutil
This commit is contained in:
parent
ef1429c9a6
commit
26044ca229
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue