fix: [Training] Further error handling
fix: [Training] Further error handling

FIRSTdotorg/MISP,FloatingGhost/MISP,MISP/MISP,MISP/MISP,FIRSTdotorg/MISP,MISP/MISP,FloatingGhost/MISP,FIRSTdotorg/MISP,FloatingGhost/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,FIRSTdotorg/MISP,SteveClement/MISP,FloatingGhost/MISP,MISP/MISP,SteveClement/MISP,SteveClement/MISP