There are problems getting spares due to the lack of hard currency but this does not generally affect safety. Any unserviceable aircraft gets canibalised for spares to keep the rest flying. They do their best in challenging circumstances.
None of which explains a simple case of CFIT in IMC when they should have been flying VFR.
Sadly gethereitis is always a temptation, especially in Africa where navaids are scarce and working navaids are even scarecer. Suitable diversions are few and far between.
Scud running becomes a habit and eventually it bites.