diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-12-31 11:39:34 +0000 |
|---|---|---|
| committer | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-12-31 11:39:34 +0000 |
| commit | 149c2b2169192da29d82c440175d8d9049dea8b3 (patch) | |
| tree | 8eb4064edde66f5608e253b97fdc399f4c88dd91 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | dbfbf9fb5bc79f4c23552a0a881c55c4300ab75b (diff) | |
Added referenced assembly failure detection, and DI failure protection.
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 094134318..1b9bb86bb 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -413,6 +413,8 @@ namespace Emby.Server.Implementations catch (Exception ex) { Logger.LogError(ex, "Error creating {Type}", type); + // If this is a plugin fail it. + _pluginManager.FailPlugin(type.Assembly); return null; } finally |
