sdf06 TCR validation log fix
This commit is contained in:
parent
cfda9a6eba
commit
316a5bb6aa
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@ public enum Sdf06NewValidationRule implements IValidationRule<ImdgValidationCont
|
||||||
//если направление in то ТКР необязателен
|
//если направление in то ТКР необязателен
|
||||||
Function<Optional<EnumMessage>, Optional<EnumMessage>> err = msg -> {
|
Function<Optional<EnumMessage>, Optional<EnumMessage>> err = msg -> {
|
||||||
if (dir.equals(InOutDirection.in)) {
|
if (dir.equals(InOutDirection.in)) {
|
||||||
log.debug("TCR not found, direction {}, ok", dir);
|
log.debug("TCR not found {}, direction {}, ok",
|
||||||
|
msg.map(Object::toString).orElse(null), dir);
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
} else {
|
} else {
|
||||||
return msg;
|
return msg;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue