fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
pull/54620/head
Marcel Klehr 2025-08-25 14:06:29 +07:00
parent 32f5f6e08e
commit dbb5705152
1 changed files with 6 additions and 2 deletions

@ -876,8 +876,12 @@ class AppConfig implements IAppConfig {
$type |= self::VALUE_SENSITIVE;
}
if ($lazy !== $this->isLazy($app, $key)) {
$refreshCache = true;
try {
if ($lazy !== $this->isLazy($app, $key)) {
$refreshCache = true;
}
} catch (AppConfigUnknownKeyException) {
// pass
}
$update = $this->connection->getQueryBuilder();