mirror of https://gitee.com/stylefeng/roses
【8.0】【business log】更新业务日志记录忽略异常
parent
aad3f5bb80
commit
5bc549a572
|
@ -36,6 +36,7 @@ public class BusinessLogUtil {
|
|||
if (ObjectUtil.isEmpty(contentObject)) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
StringBuilder stringBuffer = new StringBuilder();
|
||||
for (Object param : contentObject) {
|
||||
if (param instanceof String) {
|
||||
|
@ -45,6 +46,9 @@ public class BusinessLogUtil {
|
|||
}
|
||||
}
|
||||
BusinessLogHolder.addContent(stringBuffer.toString());
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue