Merge pull request #3513 from barronpm/plugin-exception-fix

Fix TypeLoadException during plugin load
This commit is contained in:
Anthony Lavado 2020-07-05 13:55:24 -07:00 committed by GitHub
commit 3d3e66c5d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -869,6 +869,11 @@ namespace Emby.Server.Implementations
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
continue;
}
catch (TypeLoadException ex)
{
Logger.LogError(ex, "Error loading types from {Assembly}.", ass.FullName);
continue;
}
foreach (Type type in exportedTypes)
{