dev@locazia: fix misprint
This commit is contained in:
parent
667d0f44a8
commit
5f4f2b656b
|
|
@ -13,6 +13,7 @@ from app.core.logger import make_log
|
||||||
from app.core.models.node_storage import StoredContent
|
from app.core.models.node_storage import StoredContent
|
||||||
from app.core.models.wallet_connection import WalletConnection
|
from app.core.models.wallet_connection import WalletConnection
|
||||||
from app.core.storage import db_session
|
from app.core.storage import db_session
|
||||||
|
import traceback
|
||||||
|
|
||||||
|
|
||||||
async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
|
||||||
|
|
@ -149,7 +150,7 @@ async def main_fn():
|
||||||
try:
|
try:
|
||||||
platform_found, seqno = await indexer_loop(platform_found, seqno)
|
platform_found, seqno = await indexer_loop(platform_found, seqno)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
make_log("Indexer", f"Error: {e}", level="error")
|
make_log("Indexer", f"Error: {e}" + '\n' + traceback.format_exc(), level="error")
|
||||||
|
|
||||||
await asyncio.sleep(5)
|
await asyncio.sleep(5)
|
||||||
seqno += 1
|
seqno += 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue