catch all exceptions when checking file size
This commit is contained in:
parent
2cc601ee36
commit
ae35593f65
|
@ -230,7 +230,7 @@ public class HttpUploadConnection implements Transferable {
|
||||||
Log.d(Config.LOGTAG,"http upload failed because response code was "+code);
|
Log.d(Config.LOGTAG,"http upload failed because response code was "+code);
|
||||||
fail("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();
|
e.printStackTrace();
|
||||||
Log.d(Config.LOGTAG,"http upload failed "+e.getMessage());
|
Log.d(Config.LOGTAG,"http upload failed "+e.getMessage());
|
||||||
fail(e.getMessage());
|
fail(e.getMessage());
|
||||||
|
|
Loading…
Reference in a new issue