log failure reason in http upload on wrong response code
This commit is contained in:
parent
b3337c4ad7
commit
1838023c88
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue