mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
【优化】调整全局异常处理器及过滤器异常日志存储名称问题,日志记录更加详细直观,同时修改类命名。
This commit is contained in:
@@ -38,7 +38,7 @@ namespace CoreCms.Net.Middlewares
|
||||
/// <returns></returns>
|
||||
public static IApplicationBuilder UseExceptionHandlerMiddForAdmin(this IApplicationBuilder app)
|
||||
{
|
||||
return app.UseMiddleware<ExceptionHandlerMiddForAdmin>();
|
||||
return app.UseMiddleware<ExceptionHandlerMiddlewareForAdmin>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -48,7 +48,7 @@ namespace CoreCms.Net.Middlewares
|
||||
/// <returns></returns>
|
||||
public static IApplicationBuilder UseExceptionHandlerMiddForClent(this IApplicationBuilder app)
|
||||
{
|
||||
return app.UseMiddleware<ExceptionHandlerMiddForClent>();
|
||||
return app.UseMiddleware<ExceptionHandlerMiddlewareForClent>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user