Commit 36c05818 authored by RuoYi's avatar RuoYi

防止记录日志转换出现的异常

parent a292cccb
...@@ -167,8 +167,14 @@ public class LogAspect ...@@ -167,8 +167,14 @@ public class LogAspect
{ {
if (StringUtils.isNotNull(o) && !isFilterObject(o)) if (StringUtils.isNotNull(o) && !isFilterObject(o))
{ {
Object jsonObj = JSON.toJSON(o); try
params += jsonObj.toString() + " "; {
Object jsonObj = JSON.toJSON(o);
params += jsonObj.toString() + " ";
}
catch (Exception e)
{
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment