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

View file

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