FM-17 / poglink

A bot that integrates the ARK Web API with Discord.
MIT License
12 stars 4 forks source link

Overhaul exception raising in `poglink.cogs.rates.get_current_rates()` #58

Open travipross opened 2 years ago

travipross commented 2 years ago

Currently there are two different types of exceptions being raised when fetching rates. There are some cases where unintuitively, it seems the wrong type of exception is being raised (bad url, good url with bad content, etc).

This should be inspected to make sure sensible exceptions are being raised. Tests will have to be updated.