Skip to content

Commit

Permalink
Merge pull request #17 from zellular-xyz/responsiveness
Browse files Browse the repository at this point in the history
Add zlogger exception loggin for signature aggregation.
  • Loading branch information
abramsymons authored Jul 30, 2024
2 parents 7b7d9df + 9ceecf0 commit 5081ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/bls.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async def gather_and_aggregate_signatures(
try:
completed_results = await asyncio.wait_for(gather_signatures(sign_tasks), timeout=zconfig.AGGREGATION_TIMEOUT)
except asyncio.TimeoutError:
zlogger.exception(f"Aggregation of signatures timed out after {zconfig.AGGREGATION_TIMEOUT} seconds.")
return None

signatures: list[dict[str, Any] | None] = completed_results
Expand Down

0 comments on commit 5081ee5

Please sign in to comment.