catch all exceptions when checking file size
This commit is contained in:
parent
21f81f9b1e
commit
75075e5ca8
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Reference in a new issue