Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击日志详情出错:System.Collections.Generic.KeyNotFoundException: The given key 'Model' was not present in the dictionary. #87

Open
daviduuang opened this issue Jan 6, 2022 · 0 comments
Assignees

Comments

@daviduuang
Copy link

logdashboard 1.4.8 稳定版
项目为ASP.NET Core WebAPI项目

点击日志详情出错:
System.Collections.Generic.KeyNotFoundException: The given key 'Model' was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at LogDashboard.Views.Dashboard.LogInfo.Execute() at LogDashboard.Views.RazorPage.TransformText(String body) at LogDashboard.Views.RazorPage.ToString() at LogDashboard.Handle.LogDashboardHandleBase.View(Object model, Type viewType) at LogDashboard.Handle.DashboardHandle1.LogInfo(T info)
at LogDashboard.LogDashboardMiddleware.InvokeAsync(HttpContext httpContext)
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

error-1

error-2

error-3

@realLiangshiwei realLiangshiwei self-assigned this Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants