Try to not crash on unsupported plugin load

This commit is contained in:
Bond_009 2020-04-01 14:50:18 +02:00
parent bd4269cb59
commit 147e434634

View File

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