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
parent df1ecbaa27
commit 74fa8f3f84
No known key found for this signature in database
GPG key ID: 36E3664E099D0614

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 {