Fix logger test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-22 12:37:32 +01:00
parent 9463e2cf61
commit f2ef35dbf1
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -94,8 +94,8 @@ class ExceptionSerializer {
private function editTrace(array &$sensitiveValues, array $traceLine): array {
if (isset($traceLine['args'])) {
$sensitiveValues = array_merge($sensitiveValues, $traceLine['args']);
$traceLine['args'] = ['*** sensitive parameters replaced ***'];
}
$traceLine['args'] = ['*** sensitive parameters replaced ***'];
return $traceLine;
}