Skip to content

net6添加组件, 访问主页异常 #88

Description

@Qintai

`An unhandled exception occurred while processing the request.
FormatException: String '2022-01-21 15:33:55,013' was not recognized as a valid DateTime.
LogDashboard.Repository.File.FileUnitOfWork.ReadLogs(int id)

Stack Query Cookies Headers Routing
FormatException: String '2022-01-21 15:33:55,013' was not recognized as a valid DateTime.
LogDashboard.Repository.File.FileUnitOfWork.ReadLogs(int id)
LogDashboard.Repository.File.FileUnitOfWork.ReadAllLogs()
LogDashboard.Repository.File.FileUnitOfWork.Open()
LogDashboard.LogDashboardMiddleware.InvokeAsync(HttpContext httpContext)
Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.InvokeCore(HttpContext context, string matchedPath, string remainingPath)
Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)`

image

访问 http://localhost:5078/LogDashboard

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions