Commit 79210e82 authored by Laurent Montel's avatar Laurent Montel
Browse files

Return zip error

parent eee74478
Pipeline #57358 skipped
......@@ -132,7 +132,7 @@ KZip *Utils::openZip(const QString &filename, QString &errorMsg)
const bool result = zip->open(QIODevice::ReadOnly);
if (!result) {
errorMsg = i18n("Archive cannot be opened in read mode.");
qCWarning(PIMDATAEXPORTERCORE_LOG) << "Impossible to open archive: " << filename;
qCWarning(PIMDATAEXPORTERCORE_LOG) << "Impossible to open archive: " << filename << "zip error : " << zip->errorString();
delete zip;
return nullptr;
}
......
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