System.AggregateException (ln0xsdlwk001rj1:1873)
An error occurred while writing to logger(s). (Index not found. (0x80131124))
System.AggregateException: An error occurred while writing to logger(s). (Index not found. (0x80131124)) ---> System.BadImageFormatException: Index not found. (0x80131124)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandle handle, TypeNameFormatFlags formatFlags, StringHandleOnStack retString)
at System.RuntimeTypeHandle.ConstructName(QCallTypeHandle handle, TypeNameFormatFlags formatFlags, StringHandleOnStack retString)
at System.RuntimeTypeHandle.ConstructName(TypeNameFormatFlags formatFlags)
at System.RuntimeType.RuntimeTypeCache.ConstructName(String& name, TypeNameFormatFlags formatFlags)
at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat, StringBuilder sb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1& logEntry, IExternalScopeProvider scopeProvider, TextWriter textWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevel logLevel, Func`1 messageFunc, Exception exception)
at Hangfire.Logging.LogExtensions.ErrorException(ILog logger, String message, Exception exception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2 x)