ajenti / ajenti

Catching previously caught exception PYL-W0705
Bug risk
Critical
6 months ago2 years old
Catching previously caught exception type TimeoutError
 93    except socket.gaierror:
 94        certDetails['notAfter'] = _('Could not resolve hostname !')
 95        return certDetails
 96    except socket.timeout: 97        certDetails['notAfter'] = _('Timeout from host !')
 98        return certDetails
 99    except ssl.CertificateError: