JsonRpcConnection PKI: Document swalled exception

This commit is contained in:
Michael Friedrich 2020-02-20 15:15:54 +01:00
parent 12b6c1aab9
commit 456b0779bb
1 changed files with 1 additions and 3 deletions

View File

@ -57,9 +57,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona
try {
signedByCA = VerifyCertificate(cacert, cert);
} catch (const std::exception& ex) {
}
} catch (const std::exception&) { } /* Swallow the exception on purpose, cacert will never be a non-CA certificate. */
Log(LogInformation, "JsonRpcConnection")
<< "Received certificate request for CN '" << cn << "'"