Properly handle video transcoding failures.

This commit is contained in:
Nicholas Tinsley 2024-08-30 12:24:03 -04:00
parent d683b8a321
commit 85449802d1

View file

@ -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,