This commit is contained in:
parent
871332dc53
commit
94fbfe9d44
2 changed files with 0 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ public enum BalanceError implements IEnumId {
|
||||||
WrongMarket(5215L),
|
WrongMarket(5215L),
|
||||||
WrongAccount(5215L),
|
WrongAccount(5215L),
|
||||||
AccountNotPresent(-1L);
|
AccountNotPresent(-1L);
|
||||||
;
|
|
||||||
private final Long id;
|
private final Long id;
|
||||||
|
|
||||||
BalanceError(Long id) {
|
BalanceError(Long id) {
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,6 @@ public class StatementService extends QueueConsumer implements InitializingBean
|
||||||
log.info("account {} for sdf01.id={} not found - send request for creation", sdf01.getAccount(), sdf01.getId());
|
log.info("account {} for sdf01.id={} not found - send request for creation", sdf01.getAccount(), sdf01.getId());
|
||||||
} else if (BalanceError.AccountNotPresent.equals(error.map(EnumMessage::getSubject).orElse(null))) {
|
} 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());
|
log.error("fatal error: resumed processing after generating accounts, but no account found for sdf01.id={}", sdf01.getId());
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
if (error.isPresent()) {
|
if (error.isPresent()) {
|
||||||
errorLogger.logError("sdf01.id={}", error.get(), sdf01.getId());
|
errorLogger.logError("sdf01.id={}", error.get(), sdf01.getId());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue