Skip to content

Commit

Permalink
add more logs (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
djstrong authored Sep 26, 2024
1 parent eee5998 commit 940f03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/nameguard/web_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ async def secure_primary_name_get(
If `address` has a primary name and `return_nameguard_report` is `True`, then NameGuard will return a `SecurePrimaryNameResult` including a `NameGuardReport` for the primary name. Else, NameGuard will return `None` as `nameguard_result`.
"""
logger.debug(
f"{json.dumps({'endpoint': Endpoints.SECURE_PRIMARY_NAME, 'method': 'GET', 'network_name': network_name, 'address': address})}"
f"{json.dumps({'endpoint': Endpoints.SECURE_PRIMARY_NAME, 'method': 'GET', 'network_name': network_name, 'address': address, 'return_nameguard_report': return_nameguard_report})}"
)
nameguard.context.endpoint_name.set(Endpoints.SECURE_PRIMARY_NAME)
address = validate_ethereum_address(address)
Expand Down

0 comments on commit 940f03a

Please sign in to comment.