diff --git a/lib/evse_security/evse_security.cpp b/lib/evse_security/evse_security.cpp index 4daf761..b12bb62 100644 --- a/lib/evse_security/evse_security.cpp +++ b/lib/evse_security/evse_security.cpp @@ -927,6 +927,8 @@ std::optional EvseSecurity::retrieve_ocsp_cache_internal(const Certifi } } catch (const NoCertificateFound& e) { EVLOG_error << "Could not find any certificate for ocsp cache retrieve: " << e.what(); + } catch (const std::filesystem::filesystem_error& e) { + EVLOG_error << "Could not iterate over ocsp cache: " << e.what(); } } catch (const CertificateLoadException& e) { EVLOG_error << "Could not retrieve ocsp cache, certificate load failure: " << e.what();