Liquidity error handling #516

Merged
scionaltera merged 4 commits from liquidity-error-handling into master 2022-07-23 01:51:51 -07:00
scionaltera commented 2022-07-23 01:46:40 -07:00 (Migrated from github.com)

In cases where getLimitPrice() could not fetch the order book because of rate limiting (ie. 429 from the server) the resulting exception would not be caught properly and showed a message telling the user that the exchange did not have enough liquidity. This change improves the error handling so that we show more appropriate error messages when errors occur in this method.

In cases where `getLimitPrice()` could not fetch the order book because of rate limiting (ie. 429 from the server) the resulting exception would not be caught properly and showed a message telling the user that the exchange did not have enough liquidity. This change improves the error handling so that we show more appropriate error messages when errors occur in this method.
Commenting is not possible because the repository is archived.
No description provided.