Skip to content

Commit

Permalink
Synthetix: Downgrade noisy log from Warn to Debug (#3594)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgard authored Nov 29, 2024
1 parent 7dba1e5 commit 88b3002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-boxes-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/synthetix-feeds-adapter': patch
---

Downgrade log from Warn to Debug
2 changes: 1 addition & 1 deletion packages/sources/synthetix-feeds/src/transport/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getUSDeToUSD = async (
const resultDecimal = new Decimal(utils.formatUnits(result, decimals).toString())

if (resultDecimal > new Decimal(1)) {
logger.warn(`USDe/USD price ${resultDecimal} is over $1, capping to $1`)
logger.debug(`USDe/USD price ${resultDecimal} is over $1, capping to $1`)
return new Decimal(1)
} else {
return resultDecimal
Expand Down

0 comments on commit 88b3002

Please sign in to comment.