Merge pull request #21485 from nextcloud/backport/21482/stable19
[stable19] Don't log Keys
This commit is contained in:
commit
adb5a80674
|
@ -30,6 +30,7 @@ namespace OC\Log;
|
||||||
|
|
||||||
use OC\Core\Controller\SetupController;
|
use OC\Core\Controller\SetupController;
|
||||||
use OC\HintException;
|
use OC\HintException;
|
||||||
|
use OC\Security\IdentityProof\Key;
|
||||||
use OC\Setup;
|
use OC\Setup;
|
||||||
|
|
||||||
class ExceptionSerializer {
|
class ExceptionSerializer {
|
||||||
|
@ -95,7 +96,10 @@ class ExceptionSerializer {
|
||||||
],
|
],
|
||||||
Setup::class => [
|
Setup::class => [
|
||||||
'install'
|
'install'
|
||||||
]
|
],
|
||||||
|
Key::class => [
|
||||||
|
'__construct'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
private function editTrace(array &$sensitiveValues, array $traceLine): array {
|
private function editTrace(array &$sensitiveValues, array $traceLine): array {
|
||||||
|
|
Loading…
Reference in New Issue