mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Merge pull request #2730 from Bond-009/plugincrash
Try to not crash on unsupported plugin load
(cherry picked from commit c9919f4633
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
2cde59af44
commit
7059761806
1 changed files with 1 additions and 1 deletions
|
@ -1165,7 +1165,7 @@ namespace Emby.Server.Implementations
|
||||||
{
|
{
|
||||||
exportedTypes = ass.GetExportedTypes();
|
exportedTypes = ass.GetExportedTypes();
|
||||||
}
|
}
|
||||||
catch (TypeLoadException ex)
|
catch (FileNotFoundException ex)
|
||||||
{
|
{
|
||||||
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
|
Logger.LogError(ex, "Error getting exported types from {Assembly}", ass.FullName);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue