aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-10-13 20:44:21 +0200
committerChristian Schneppe <christian@pix-art.de>2017-10-13 20:44:21 +0200
commit632caf4dec241e822670498e92d095066d59fa46 (patch)
tree51feaf9a87f772182a05f6ccfe5336fbb6bb22d1 /src/main/java/de/pixart/messenger/services
parentb8c7efbaf142ce4fd90d9ad40006cbcd8d8f92f7 (diff)
don't duplicate file if compression failes
fixes https://github.com/siacs/Conversations/issues/2652
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java2
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();