Merge branch 'refs/heads/REQ-2141'
This commit is contained in:
commit
86cd7d5e8b
@ -100,6 +100,9 @@ public class PendingMessageBizConfig {
|
||||
@Getter
|
||||
private boolean formatExecSQL;
|
||||
|
||||
@Getter
|
||||
private boolean logAdvanceTodoStateFail;
|
||||
|
||||
@Getter
|
||||
private Set<String> dontConcatRouterParamsTemplateCodes;
|
||||
|
||||
|
||||
@ -500,7 +500,8 @@ public class TodoManager {
|
||||
"failReason", failReason,
|
||||
"currentStateSample", noStateBusinessTodos.sampleTodo());
|
||||
// @formatter:on
|
||||
todoLogger.logTodosUpdated(ctx, noStateBusinessTodos.todos);
|
||||
if (cfg.isLogAdvanceTodoStateFail())
|
||||
todoLogger.logTodosUpdated(ctx, noStateBusinessTodos.todos);
|
||||
// throw an error? dunno
|
||||
log.warn("尝试推进待办状态, 但是 {}. ctx={}, query={}, currentStateSample={}",
|
||||
failReason, ctx, QueryFormatter.format(builder.getQuery()), noStateBusinessTodos.sampleTodo());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user