catch all exceptions when checking file size

This commit is contained in:
Christian Schneppe 2018-07-29 16:26:25 +02:00
parent 21f81f9b1e
commit 75075e5ca8

View file

@ -230,7 +230,7 @@ public class HttpUploadConnection implements Transferable {
Log.d(Config.LOGTAG, "http upload failed because response code was " + code);
fail("http upload failed because response code was " + code);
}
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
Log.d(Config.LOGTAG, "http upload failed " + e.getMessage());
fail(e.getMessage());