aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-01 14:50:18 +0200
committerBond_009 <bond.009@outlook.com>2020-04-01 14:50:18 +0200
commit147e434634bda67ffeebd6db0790f5fd652b1fc9 (patch)
tree2a3e2723b2dcc910ba8f1ca5dce4d5a40117d6a6
parentbd4269cb5914bd9e90aaa508fa63f4d7e47e7397 (diff)
Try to not crash on unsupported plugin load
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index d6a572818..f3540e25e 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -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;