Skip to content

Commit

Permalink
add debug logs for new list registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Jun 24, 2024
1 parent d2a0aad commit 974ace3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indexer_app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ async def handle_new_list_registration(
project_list = []
insert_data = []
for dt in reg_data:
logger.info(f"dt: {dt}")
project_list.append({"id": dt["registrant_id"]})
insert_data.append(
{
Expand All @@ -274,6 +275,7 @@ async def handle_new_list_registration(
"tx_hash": receipt.receipt_id,
}
)
logger.info(f"insert_data: {insert_data}")

try:
await Account.objects.abulk_create(
Expand Down

0 comments on commit 974ace3

Please sign in to comment.