changed logging. (work around logcat null pointer

This commit is contained in:
Daniel Gultsch 2015-07-28 22:26:29 +02:00
parent 6b8e1ecb95
commit 8924c448d1
2 changed files with 1 additions and 2 deletions

View File

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

View File

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