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 7244026783
commit 5705fc7be3

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 {