aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-05-31 17:19:56 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-05-31 17:19:56 +0200
commit1838023c88cee6aa68859ef24227cd81bc47b7f2 (patch)
tree1382a4ce63d355168d2633f597959764b974c271 /src/main/java/eu
parentb3337c4ad76cd000d038d6fff97ca8b66832be39 (diff)
log failure reason in http upload on wrong response code
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java
index e337509b..87c6fc4a 100644
--- a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java
+++ b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java
@@ -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) {