mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #3513 from barronpm/plugin-exception-fix
Fix TypeLoadException during plugin load
This commit is contained in:
commit
3d3e66c5d1
@ -869,6 +869,11 @@ namespace Emby.Server.Implementations
|
|||||||
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
|
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
catch (TypeLoadException ex)
|
||||||
|
{
|
||||||
|
Logger.LogError(ex, "Error loading types from {Assembly}.", ass.FullName);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (Type type in exportedTypes)
|
foreach (Type type in exportedTypes)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user