Merge pull request #2730 from Bond-009/plugincrash

Try to not crash on unsupported plugin load
pull/2660/head^2
Anthony Lavado 5 years ago committed by GitHub
commit c9919f4633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1167,7 +1167,7 @@ namespace Emby.Server.Implementations
{
exportedTypes = ass.GetExportedTypes();
}
catch (TypeLoadException ex)
catch (FileNotFoundException ex)
{
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
continue;

Loading…
Cancel
Save