Mask password for Redis and RedisCluster on connection failure

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2021-07-19 19:52:15 +02:00 committed by backportbot[bot]
parent e915d98fc6
commit bdcf22eee7

View file

@ -112,6 +112,12 @@ class ExceptionSerializer {
Key::class => [
'__construct'
],
\Redis::class => [
'auth'
],
\RedisCluster::class => [
'__construct'
]
];
private function editTrace(array &$sensitiveValues, array $traceLine): array {