REQ-3581: 记录腾讯异常信息
This commit is contained in:
parent
481d28be7c
commit
6c29d9ebca
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user