Notify if no account information found
This commit is contained in:
parent
0ba5cc38b3
commit
36b9421846
|
@ -66,6 +66,9 @@ class Sinks(util.Base):
|
||||||
:param account_infos: dict of dicts of account information
|
:param account_infos: dict of dicts of account information
|
||||||
:param account_infos: dict
|
:param account_infos: dict
|
||||||
"""
|
"""
|
||||||
|
if not account_infos:
|
||||||
|
self.log.error(f"No accounts provided for {subclass}") #
|
||||||
|
return
|
||||||
for bank, accounts in account_infos.items():
|
for bank, accounts in account_infos.items():
|
||||||
for index, account in enumerate(list(accounts)):
|
for index, account in enumerate(list(accounts)):
|
||||||
if "account_number" not in account:
|
if "account_number" not in account:
|
||||||
|
|
Loading…
Reference in New Issue