catch all exceptions when checking file size

This commit is contained in:
Daniel Gultsch 2018-07-16 20:42:40 +02:00
parent 2cc601ee36
commit ae35593f65

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