Try to not crash on unsupported plugin load

This commit is contained in:
Bond_009 committed 2020-04-01 14:50:18 +02:00
1 parent bd4269cb59
commit 147e434634
1 file changed
+1 -1
@@ -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;