]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix logger test
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 22 Nov 2019 11:37:32 +0000 (12:37 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 27 Nov 2019 12:34:42 +0000 (13:34 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Log/ExceptionSerializer.php

index fe28120b3923b5d19f4ca7c6fcd02d766454b0db..a3b855aea26f0af4df537679b530af8f010b2020 100644 (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;
        }