소스 검색

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

Andrew Mahone 5 년 전
부모
커밋
dee247453e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

@@ -250,7 +250,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
 
 
                 _logger.LogError(msg);
                 _logger.LogError(msg);
 
 
-                throw new Exception(msg);
+                throw new InvalidOperationException(msg);
             }
             }
             else
             else
             {
             {