Skip to content
Permalink
Browse files

Merge pull request #9177 from mbernasocchi/master

Give more information when errors opening zip happens
  • Loading branch information
m-kuhn committed Feb 18, 2019
2 parents 5ced04e + a643c87 commit 78d835705e9bc51dfc383b0cf477ec7695d680f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsziputils.cpp
@@ -129,7 +129,7 @@ bool QgsZipUtils::unzip( const QString &zipFilename, const QString &dir, QString
}
else
{
QString err = QObject::tr( "Error opening zip archive: '%1'" ).arg( z ? zip_strerror( z ) : zipFilename );
QString err = QObject::tr( "Error opening zip archive: '%1' (Error code: %2)" ).arg( z ? zip_strerror( z ) : zipFilename, rc );
QgsMessageLog::logMessage( err, QStringLiteral( "QgsZipUtils" ) );
return false;
}

0 comments on commit 78d8357

Please sign in to comment.
You can’t perform that action at this time.