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) {
|
} catch (SocketTimeoutException e) {
|
||||||
bundle.putString("error", "timeout");
|
bundle.putString("error", "timeout");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.d(Config.LOGTAG,e.getMessage());
|
e.printStackTrace();
|
||||||
bundle.putString("error", "unhandled");
|
bundle.putString("error", "unhandled");
|
||||||
}
|
}
|
||||||
return bundle;
|
return bundle;
|
||||||
|
|
Loading…
Reference in New Issue