From 8d41cf8a2e415299aab3843ad5a68f7addbea5b1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 1 Nov 2024 16:42:57 +0100 Subject: [PATCH] Do not log the missing bootstraper This file can be missing during changes to the installed packages while it is being recreated. The log entry here is pointless because if the following command succeeds, then this error is not actionable. If on the other hand the file could not be created, this will cause an error plus a log entry anyway. --- wcfsetup/install/files/lib/system/WCF.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index b287ea43d0..de66607547 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -211,8 +211,6 @@ final protected function runBootstrappers(): void try { $bootstrappers = require(self::BOOTSTRAP_LOADER); } catch (\Exception $e) { - \wcf\functions\exception\logThrowable($e); - $command = new RebuildBootstrapper(); $command();