Suppress message inside noisyFailureMsgHandler. ref #568.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-09-20 21:12:19 +03:00
parent efef5d371b
commit 5fe41e8a99
2 changed files with 12 additions and 0 deletions

View file

@ -108,6 +108,12 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
{
type = QtDebugMsg;
}
// See issue #568
if ((type == QtWarningMsg) && msg.contains(QStringLiteral("Error receiving trust for a CA certificate")))
{
type = QtDebugMsg;
}
#endif
// this is another one that doesn't make sense as just a debug message. pretty serious

View file

@ -103,6 +103,12 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con
{
type = QtDebugMsg;
}
// See issue #568
if ((type == QtWarningMsg) && msg.contains(QStringLiteral("Error receiving trust for a CA certificate")))
{
type = QtDebugMsg;
}
#endif
// this is another one that doesn't make sense as just a debug message. pretty serious