aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log/ExceptionSerializer.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 12:37:32 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:42 +0100
commitf2ef35dbf1401e15361c6535734fa77fbec636b7 (patch)
treeece141e6a4a1892c945f25e68f0d7c579e0678ed /lib/private/Log/ExceptionSerializer.php
parent9463e2cf61465442f2882bca17198f970e3cff87 (diff)
downloadnextcloud-server-f2ef35dbf1401e15361c6535734fa77fbec636b7.tar.gz
nextcloud-server-f2ef35dbf1401e15361c6535734fa77fbec636b7.zip
Fix logger test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Log/ExceptionSerializer.php')
-rw-r--r--lib/private/Log/ExceptionSerializer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php
index fe28120b392..a3b855aea26 100644
--- a/lib/private/Log/ExceptionSerializer.php
+++ b/lib/private/Log/ExceptionSerializer.php
@@ -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;
}