yearn / yearn-sdk

🦧 SDK for the yearn.finance platform. WIP
https://npm.im/@yfi/sdk
MIT License
53 stars 56 forks source link

refactor: Handle errors more gracefully #241

Closed karelianpie closed 2 years ago

karelianpie commented 2 years ago

Refactors a balances() and supported() to instead of throwing logging the error and returning an empty array.