mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-21 03:53:24 +09:00
Try to not crash on unsupported plugin load
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user