fix: [cleanup] Cleaned up Exception handling
fix: [cleanup] Cleaned up Exception handling

Rafiot/MISP,FloatingGhost/MISP,Rafiot/MISP,SteveClement/MISP,devnull-/MISP,devnull-/MISP,Rafiot/MISP,Rafiot/MISP,SteveClement/MISP,MISP/MISP,FloatingGhost/MISP,MISP/MISP,FIRSTdotorg/MISP,FIRSTdotorg/MISP,devnull-/MISP,MISP/MISP,MISP/MISP,FIRSTdotorg/MISP,FloatingGhost/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,FIRSTdotorg/MISP,devnull-/MISP,SteveClement/MISP,FloatingGhost/MISP