fix: Cleaner handling of failed connections during checkVersionCompatibility, fixes #2786
fix: Cleaner handling of failed connections during checkVersionCompatibility, fixes #2786

- log the real reason why the connection test failed in case of an exception (such as invalid certificate)

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