更改500异常提示语
This commit is contained in:
parent
8b85cb4bf4
commit
cad87709d1
@ -62,7 +62,7 @@ namespace ZR.Admin.WebApi.Middleware
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
msg = "服务器好像出了点问题......";
|
msg = "服务器好像出了点问题,请联系系统管理员...";
|
||||||
error = $"{ex.Message}";
|
error = $"{ex.Message}";
|
||||||
logLevel = NLog.LogLevel.Error;
|
logLevel = NLog.LogLevel.Error;
|
||||||
context.Response.StatusCode = 500;
|
context.Response.StatusCode = 500;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user