diff --git a/src/main/java/eu/siacs/conversations/http/HttpDownloadConnection.java b/src/main/java/eu/siacs/conversations/http/HttpDownloadConnection.java index 1ee08e244..3c1d31142 100644 --- a/src/main/java/eu/siacs/conversations/http/HttpDownloadConnection.java +++ b/src/main/java/eu/siacs/conversations/http/HttpDownloadConnection.java @@ -173,10 +173,6 @@ public class HttpDownloadConnection implements Transferable { if (!file.delete()) { Log.w(Config.LOGTAG, "unable to delete temporary OMEMO encrypted file " + file.getAbsolutePath()); } - - //TODO can this be skipped? - //message.setRelativeFilePath(outputFile.getPath()); - } private void finish() { @@ -488,7 +484,7 @@ public class HttpDownloadConnection implements Transferable { throw new FileWriterException(); } } catch (CancellationException | IOException e) { - Log.d(Config.LOGTAG, "http download failed " + e.getMessage()); + Log.d(Config.LOGTAG, message.getConversation().getAccount().getJid().asBareJid() + ": http download failed", e); throw e; } finally { FileBackend.close(os);