Try to not crash on unsupported plugin load
This commit is contained in:
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…
Reference in New Issue
Block a user