Skip to content

The Free Software Media System - Server Backend & API

Throw InvalidOperationException when attachment extraction exits abnormally or doesn't produce output.

Andrew Mahonedee247453e7b
diff --git a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
index 4e277826a9..cb22343c48 100644
--- a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
+++ b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
@@ -250,7 +250,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
_logger.LogError(msg);
- throw new Exception(msg);
+ throw new InvalidOperationException(msg);
}
else
{