Try to not crash on unsupported plugin load

pull/2730/head
Bond_009 4 years ago
parent bd4269cb59
commit 147e434634

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