Issue Task Resolved

#109659Add logging to PackageManager

André Buchmann 04/20/26, 20:25 updated 10/23/26, 06:05

Description

The PackageManager->registerPackagesFromConfiguration() catches exceptions and silently unregisteres the package.

For debugging purposes it would be nice to have the captured exceptions logged.

            try {
                $packagePath = PathUtility::sanitizeTrailingSeparator($this->packagesBasePath . $stateConfiguration['packagePath']);
                $package = new Package($this, $packageKey, $packagePath);
            } catch (InvalidPackagePathException|InvalidPackageKeyException|InvalidPackageManifestException $exception) {
                $this->unregisterPackageByPackageKey($packageKey);
                $packageStatesHasChanged = true;
                continue;
            }

Reviews 2

History 46

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-23T06:05:15+00:00" > 10/23/26, 06:05 </span>

    Applied in changeset commit:cf06bb156fe3fa062878d557b93308bc354dc8d3.