StatementService fix

This commit is contained in:
ialbert 2022-10-14 14:44:30 +03:00
parent a217295123
commit 72667e5dec

View file

@ -111,6 +111,7 @@ public class StatementService extends QueueConsumer implements InitializingBean
//ответ придет в этот же метод, process
accountRequests.add(createAccountRequestPart(sdf01.getId(), sdf01.getAccount(), company.getId()));
log.info("account {} for sdf01.id={} not found - send request for creation", sdf01.getAccount(), sdf01.getId());
continue;
} else if (BalanceError.AccountNotPresent.equals(error.map(EnumMessage::getSubject).orElse(null))) {
log.error("fatal error: resumed processing after generating accounts, but no account found for sdf01.id={}", sdf01.getId());
}