REQ-3581: 记录腾讯异常信息

This commit is contained in:
yanglin 2025-02-25 15:53:41 +08:00
parent 481d28be7c
commit 6c29d9ebca

View File

@ -432,10 +432,6 @@ public class EssClient implements InitializingBean {
essLog.setRequestId(requestId);
}
} finally {
if (exception != null) {
essLog.setIsError(YesOrNo.YES);
essLog.addLogContent("exception", Throwables.getStackTraceAsString(exception));
}
newTransaction.executeWithoutResult(unused -> essLogDao.save(essLog));
}
if (exception != null)