Compare commits

..

2 Commits

Author SHA1 Message Date
Danilo Nascimento
b594410e38
Merge af9eed20b23a3e19395600d5091bd82f938ae1b3 into 7bef2ccc6865c2bcc5f975921ce62fcae2eb35de 2023-06-26 13:42:15 +00:00
Danilo Nascimento
af9eed20b2 Fix: handshake failed by ERR_CERT_AUTHORITY_INVALID 2023-06-26 10:39:46 -03:00

View File

@ -1,9 +1,8 @@
#include "enhancedwebpage.h"
#include <QWebEngineCertificateError>
#include <plog/Log.h>
bool EnhancedWebPage::certificateError(const QWebEngineCertificateError &certificateError) {
LOGI << "An error occurred during certificate verification for" << certificateError.url() << "; " << certificateError.errorDescription();
return certificateError.deferred();
LOGI << "An error occurred during certificate verification for " << certificateError.url().toString() << "; " << certificateError.errorDescription();
return certificateError.isOverridable();
};