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
1 changed files with 1 additions and 0 deletions

View File

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