mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 06:44:05 +01:00
Fix TypeLoadException during plugin load
This commit is contained in:
parent
fb91e4fc23
commit
942c733d4f
1 changed files with 5 additions and 0 deletions
|
|
@ -871,6 +871,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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue