dev@locazia: fix misprint

This commit is contained in:
user 2024-03-08 01:37:52 +03:00
parent 667d0f44a8
commit 5f4f2b656b
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ from app.core.logger import make_log
from app.core.models.node_storage import StoredContent
from app.core.models.wallet_connection import WalletConnection
from app.core.storage import db_session
import traceback
async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
@ -149,7 +150,7 @@ async def main_fn():
try:
platform_found, seqno = await indexer_loop(platform_found, seqno)
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)
seqno += 1