changed logging. (work around logcat null pointer
This commit is contained in:
parent
6b8e1ecb95
commit
8924c448d1
|
@ -194,7 +194,7 @@ public class HttpUploadConnection implements Transferable {
|
|||
fail();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
Log.d(Config.LOGTAG, e.getMessage());
|
||||
Log.d(Config.LOGTAG,"http upload failed "+e.getMessage());
|
||||
fail();
|
||||
} finally {
|
||||
FileBackend.close(is);
|
||||
|
|
|
@ -129,7 +129,6 @@ public class DNSHelper {
|
|||
} catch (SocketTimeoutException e) {
|
||||
bundle.putString("error", "timeout");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
bundle.putString("error", "unhandled");
|
||||
}
|
||||
return bundle;
|
||||
|
|
Loading…
Reference in a new issue