2
0
Эх сурвалжийг харах

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

Andrew Mahone 5 жил өмнө
parent
commit
dee247453e

+ 1 - 1
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
             {