Skip to content
Permalink
Browse files

Give more information when errors opening zip happens

  • Loading branch information
mbernasocchi committed Feb 14, 2019
1 parent 24c09d1 commit af4ee04f7488248398d9a021b090a8032e97ab12
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: %2)" ).arg( z ? zip_strerror( z ) : zipFilename, rc );
QgsMessageLog::logMessage( err, QStringLiteral( "QgsZipUtils" ) );
return false;
}

0 comments on commit af4ee04

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