소스 검색

Merge pull request #1819 from nvllsvm/ffmpeg_kill

Ignore exception when attempting to kill ffmpeg that has exited
Joshua M. Boniface 5 년 전
부모
커밋
180fb857ed
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      MediaBrowser.Api/ApiEntryPoint.cs

+ 1 - 2
MediaBrowser.Api/ApiEntryPoint.cs

@@ -610,9 +610,8 @@ namespace MediaBrowser.Api
                             process.Kill();
                         }
                     }
-                    catch (Exception ex)
+                    catch (InvalidOperationException)
                     {
-                        Logger.LogError(ex, "Error killing transcoding job for {Path}", job.Path);
                     }
                 }
             }