Skip to content

Commit

Permalink
Add log for unavailable ens client config
Browse files Browse the repository at this point in the history
  • Loading branch information
falvaradorodriguez committed Dec 26, 2024
1 parent cab037e commit 262f471
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ def fallback_ens_client(self) -> EnsClient.Config:
"https://api.studio.thegraph.com/query/49574/ensholesky/version/latest",
)
else:
logger.warning(
"No fallback Ens Client configuration for network=%s available",
self.ethereum_network,
)
return EnsClient.Config("")

def get_metadata_cache_key(self, address: str, token_id: int):
Expand Down

0 comments on commit 262f471

Please sign in to comment.