Honestly, I think the conditions for the IMF loans are equally bad for all countries.
Also, I checked the credit ratings, and in the African top 10, there are of course the usual suspects, but nevertheless 3 CFA countries!
https://tradingeconomics.com/country-list/rating?continent=africa