Hi @ispysoftware,
I'm developing an Agent DVR plugin and at runtime it throws this exception (I see the exception at localhost:8090/logs.html).
CheckPlugin: The type initializer for 'Microsoft.Extensions.DependencyInjection.DependencyInjectionEventSource' threw an exception.
at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(ICollection`1 serviceDescriptors, ServiceProviderOptions options)
at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)
at Microsoft.Extensions.Logging.LoggerFactory.Create(Action`1 configure)
at Plugins.InstanceLogging..ctor() in xxx\Logging.cs:line 19
at Plugins.Logging.CreateInstance() in xxx\Logging.cs:line 103
at Plugins.Main..ctor() in xxx\Main.cs:line 16
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
This error message is not useful, since the details of exception is in InnerException.
please log InnerException too, to help plugin developers
Thank you
Hi @ispysoftware,
I'm developing an Agent DVR plugin and at runtime it throws this exception (I see the exception at localhost:8090/logs.html).
This error message is not useful, since the details of exception is in
InnerException.please log
InnerExceptiontoo, to help plugin developersThank you