Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Give more information when errors opening zip happens
  • Loading branch information
mbernasocchi committed Feb 14, 2019
1 parent 24c09d1 commit af4ee04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsziputils.cpp
Expand Up @@ -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: %2)" ).arg( z ? zip_strerror( z ) : zipFilename, rc );
QgsMessageLog::logMessage( err, QStringLiteral( "QgsZipUtils" ) );
return false;
}
Expand Down

0 comments on commit af4ee04

Please sign in to comment.