From 4202971e1881e685443d6e35bede30826da4ad6b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 30 Dec 2012 19:04:45 +0100 Subject: [PATCH] Improves error message in node builder If you install an application with packages currently uninstalled and one of the packages triggers the error, you currently don't get the info which package triggers the error. This commit changes that. --- .../lib/system/package/PackageInstallationNodeBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index 29edb67feb..80c0606403 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -424,7 +424,7 @@ class PackageInstallationNodeBuilder { continue; } - throw new SystemException("Unable to find required package '".$package['file']."' within archive."); + throw new SystemException("Unable to find required package '".$package['file']."' within archive of package '".$this->installation->queue->package."'."); } $fileName = FileUtil::getTemporaryFilename('package_', preg_replace('!^.*(?=\.(?:tar\.gz|tgz|tar)$)!i', '', basename($package['file']))); -- 2.20.1