Skip to content

Commit

Permalink
fix logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Dec 29, 2023
1 parent 8edfc62 commit 739c069
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graphsenselib/db/cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,8 @@ def ingest(

# assert len([v for v in dic.values() if v > 1]) == 0
blks = [it["block_id"] for it in items if "block_id" in it]
logger.debug(f"{table}," f" {min(blks)}, {max(blks)}, {len(items)}")
if len(blks) > 0:
logger.debug(f"{table}," f" {min(blks)}, {max(blks)}, {len(items)}")

self._exe_with_retries(stmt, items, concurrency=concurrency)

Expand Down

0 comments on commit 739c069

Please sign in to comment.