统一记录日志增加判断
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0697003b78
commit
6f43535cf7
|
@ -69,8 +69,12 @@ namespace IRaCIS.Application.Services.BusinessFilter
|
||||||
{
|
{
|
||||||
var result = objectResult.Value as IResponseOutput;
|
var result = objectResult.Value as IResponseOutput;
|
||||||
|
|
||||||
//统一在这里记录国际化的日志信息
|
if (!string.IsNullOrWhiteSpace(result.LocalizedInfo))
|
||||||
_logger.LogWarning($"{result.LocalizedInfo}");
|
{
|
||||||
|
//统一在这里记录国际化的日志信息
|
||||||
|
_logger.LogWarning($"{result.LocalizedInfo}");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (statusCode != 200 && !(objectResult.Value is IResponseOutput))
|
else if (statusCode != 200 && !(objectResult.Value is IResponseOutput))
|
||||||
|
|
Loading…
Reference in New Issue