diff --git a/app/core/background/indexer_service.py b/app/core/background/indexer_service.py index 77d6b14..c58ba1b 100644 --- a/app/core/background/indexer_service.py +++ b/app/core/background/indexer_service.py @@ -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