Skip to content

Commit

Permalink
chore: reduce log level
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 18, 2023
1 parent 5a54b9d commit 8a591c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yearn/v2/vaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _unpack_results(vault: Address, is_experiment: bool, _views: List[str], resu
# In this case (totalSupply == 0), missing price data is totally fine and we can set price = 0.
# In all other cases, missing price data indicates an issue. We must raise and debug the Exception.
if info["totalSupply"] > 0 and vault not in BORKED:
logger.error(f"The exception below is for vault: {vault}")
logger.warning(f"The exception below is for vault: {vault}")
raise price_or_exception
price_or_exception = 0

Expand Down

0 comments on commit 8a591c1

Please sign in to comment.