From 632caf4dec241e822670498e92d095066d59fa46 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 13 Oct 2017 20:44:21 +0200 Subject: don't duplicate file if compression failes fixes https://github.com/siacs/Conversations/issues/2652 --- .../de/pixart/messenger/services/AttachFileToConversationRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/de/pixart/messenger/services') 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(); -- cgit v1.2.3