Skip to content

Commit 0ad1141

Browse files
committed
fix(user-config): Only log expected values
Signed-off-by: Joas Schilling <[email protected]>
1 parent f7e92fb commit 0ad1141

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/private/Config/UserConfig.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,12 @@ private function getTypedValue(
765765
&& $knownType !== null
766766
&& $knownType !== ValueType::MIXED
767767
&& $type !== $knownType) {
768-
$this->logger->warning('conflict with value type from database', ['app' => $app, 'key' => $key, 'type' => $type, 'knownType' => $knownType]);
768+
$this->logger->warning('conflict with value type from database', [
769+
'app' => $app,
770+
'key' => $key,
771+
'type' => $type->value,
772+
'knownType' => $knownType->value,
773+
]);
769774
throw new TypeConflictException('conflict with value type from database');
770775
}
771776

0 commit comments

Comments
 (0)