Properly handle video transcoding failures.
This commit is contained in:
parent
d683b8a321
commit
85449802d1
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue