Commit 138bb8f9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix debug info

parent 30aab6ce
......@@ -35,7 +35,7 @@ TestImportFile::TestImportFile(const QString &archivePath, QObject *parent)
mArchiveStorage = new ArchiveStorage(mArchivePath, this);
const bool archiveOpened = mArchiveStorage->openArchive(false);
if (!archiveOpened) {
qDebug() << " mArchivePath " << mArchivePath;
qDebug() << " mArchivePath can't be opened :" << mArchivePath;
}
Q_ASSERT(archiveOpened);
}
......
......@@ -148,6 +148,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;
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