Commit 30034f8d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add custom error

parent 0288806c
......@@ -78,14 +78,12 @@ QVector<DKIMCheckSignatureJob::CheckSignatureResult> DKIMAuthenticationStatusInf
|| infoResult == QLatin1String("permerror")) {
convertedResult.status = DKIMCheckSignatureJob::DKIMStatus::Invalid;
if (!info.reason.isEmpty()) {
//TODO implement it
convertedResult.errorStr = info.reason;
}
} else if (infoResult == QLatin1String("temperror")) {
convertedResult.status = DKIMCheckSignatureJob::DKIMStatus::Invalid;
if (!info.reason.isEmpty()) {
//TODO implement it
convertedResult.errorStr = info.reason;
}
} else {
qCWarning(MESSAGEVIEWER_DKIMCHECKER_LOG) << "Invalid result type " << infoResult;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment