discord-sidebar-price-bot
discord-sidebar-price-bot copied to clipboard
Script crashes if API call fails
Hey guys @edenau @rafitamolin , thank you for your work.
If either the host doesn't have internet connection for a few seconds or CoinGecko's API doesn't respond, the whole script crashes and needs to be restarted manually. I think it needs some kind of try/except function which restarts the script if a connection fails.
Can confirm the issue, had to restart the script multiple times before due to this
yea can you submit a pull request for this if you have time?