diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-05-31 17:19:56 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-05-31 17:19:56 +0200 |
commit | 1838023c88cee6aa68859ef24227cd81bc47b7f2 (patch) | |
tree | 1382a4ce63d355168d2633f597959764b974c271 /src | |
parent | b3337c4ad76cd000d038d6fff97ca8b66832be39 (diff) |
log failure reason in http upload on wrong response code
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java | 1 |
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) { |