~singpolyma/cheogram-android

ae35593f65a72920733e9a242c9ff16853d419c0 — Daniel Gultsch 5 years ago 2cc601e
catch all exceptions when checking file size
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java
M src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java => src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java +1 -1
@@ 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());