Throw InvalidOperationException when attachment extraction exits abnormally or doesn't produce output.
This commit is contained in:
parent
7ea05bb86b
commit
dee247453e
|
@ -250,7 +250,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
|
|||
|
||||
_logger.LogError(msg);
|
||||
|
||||
throw new Exception(msg);
|
||||
throw new InvalidOperationException(msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user