diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-10-13 20:44:21 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-10-13 20:44:21 +0200 |
commit | 632caf4dec241e822670498e92d095066d59fa46 (patch) | |
tree | 51feaf9a87f772182a05f6ccfe5336fbb6bb22d1 /src/main/java/de | |
parent | b8c7efbaf142ce4fd90d9ad40006cbcd8d8f92f7 (diff) |
don't duplicate file if compression failes
fixes https://github.com/siacs/Conversations/issues/2652
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java b/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java index 119670453..f9c67cb46 100644 --- a/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java +++ b/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java @@ -133,7 +133,7 @@ public class AttachFileToConversationRunnable implements Runnable, MediaTranscod try { processAsVideo(); } catch (Throwable e) { - processAsFile(); + e.printStackTrace(); } } else { processAsFile(); |