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();
|
fail();
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Log.d(Config.LOGTAG, e.getMessage());
|
Log.d(Config.LOGTAG,"http upload failed "+e.getMessage());
|
||||||
fail();
|
fail();
|
||||||
} finally {
|
} finally {
|
||||||
FileBackend.close(is);
|
FileBackend.close(is);
|
||||||
|
|
|
@ -129,7 +129,6 @@ public class DNSHelper {
|
||||||
} catch (SocketTimeoutException e) {
|
} catch (SocketTimeoutException e) {
|
||||||
bundle.putString("error", "timeout");
|
bundle.putString("error", "timeout");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
|
||||||
bundle.putString("error", "unhandled");
|
bundle.putString("error", "unhandled");
|
||||||
}
|
}
|
||||||
return bundle;
|
return bundle;
|
||||||
|
|
Loading…
Reference in a new issue