Merge pull request #1819 from nvllsvm/ffmpeg_kill

Ignore exception when attempting to kill ffmpeg that has exited
This commit is contained in:
Joshua M. Boniface 2019-09-29 20:23:19 -04:00 committed by GitHub
commit 180fb857ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
}