Closed Eronmmer closed 4 years ago
API must have been down when you ran that query. The Before one. Can you share exact command you ran to get that?
@ahmadawais the API wasn't down then. I even successfully ran other commands. There was a slight error in the code that handles catching error for countries not found(404 case) and that was what I fixed. Nothing much. The command I ran was corona <random-country-spelled-wrong>
Thank you for this. :)
🔗 https://github.com/ahmadawais/corona-cli/releases/tag/5.2.0 🔗 https://www.npmjs.com/package/corona-cli
Error message for countries not found or without cases
Initially, when users input countries that don't exist or without cases, they get an "API down message". But this has been corrected. View screenshots below
Before:
After: