log failure reason in http upload on wrong response code

This commit is contained in:
Daniel Gultsch 2016-05-31 17:19:56 +02:00
parent b3337c4ad7
commit 1838023c88

View File

@ -215,6 +215,7 @@ public class HttpUploadConnection implements Transferable {
mXmppConnectionService.resendMessage(message, delayed); mXmppConnectionService.resendMessage(message, delayed);
} }
} else { } else {
Log.d(Config.LOGTAG,"http upload failed because response code was "+code);
fail(); fail();
} }
} catch (IOException e) { } catch (IOException e) {