Skip to content

Commit

Permalink
fix: debug loggers (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Sep 15, 2023
1 parent 58c7683 commit 6890c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions y/_db/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_chain() -> Chain:
with suppress(TransactionIntegrityError):
Chain(id=chain.id)
commit()
logger.debug('chain %s added to ydb')
logger.debug('chain %s added to ydb', chain.id)
return Chain.get(id=chain.id)

@a_sync(default='async', executor=executor)
Expand All @@ -63,7 +63,7 @@ def get_token(address: str) -> Token:
with suppress(TransactionIntegrityError):
Token(chain=get_chain(sync=True), address=address)
commit()
logger.debug('token %s added to ydb')
logger.debug('token %s added to ydb', address)
if token := Token.get(chain=get_chain(sync=True), address=address):
return token
return token
Expand Down

0 comments on commit 6890c16

Please sign in to comment.