feat(dingtalk) - 调整框架会将 500的 status 强制写入 error 日志
This commit is contained in:
parent
881492f821
commit
5cb563b703
@ -24,6 +24,6 @@ public class FlowableOptimisticLockingExceptionHandlerAdvice extends AbstractExc
|
||||
|
||||
@Override
|
||||
protected IRespCode decode(FlowableOptimisticLockingException ex, IRespCode fallbackCode) {
|
||||
return new RespCode(BaseCode.SUCCESS.getCode(), ex.getMessage());
|
||||
return new RespCode(BaseCode.UNAVAILABLE_FOR_LEGAL_REASONS.getCode(), ex.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user