mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-02 15:36:32 +00:00
Properly handle video transcoding failures.
This commit is contained in:
@@ -283,6 +283,8 @@ public final class AttachmentCompressionJob extends BaseJob {
|
||||
100,
|
||||
percent));
|
||||
}, outputStream, cancelationSignal);
|
||||
} catch (EncodingException e) {
|
||||
throw new UndeliverableMessageException("Failure during encoding", e);
|
||||
}
|
||||
|
||||
eventBus.postSticky(new PartProgressEvent(attachment,
|
||||
|
||||
Reference in New Issue
Block a user