From ffdc4c8959d7647f2e79aaaaaf7a10025a80c54b Mon Sep 17 00:00:00 2001 From: Aldo Canepa Date: Tue, 19 Nov 2024 16:32:14 -0800 Subject: [PATCH] Sort whitelist and add "key" --- libstuff/SLog.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libstuff/SLog.cpp b/libstuff/SLog.cpp index 645d49738..abd4f744f 100644 --- a/libstuff/SLog.cpp +++ b/libstuff/SLog.cpp @@ -44,10 +44,13 @@ void SLogStackTrace(int level) { static const set PARAMS_WHITELIST = { "accountID", "attendees", + "bankAccountID", + "cardData", "cardID", "command", "companyName", "companyWebsite", + "currentTime", "domainAccountID", "domainName", "errorMessage", @@ -55,26 +58,24 @@ static const set PARAMS_WHITELIST = { "feedCountry", "feedID", "feedName", + "field", "indexName", "invoice", "isUnique", + "key", "nvpName", "policyAccountID", "policyID", "reportID", + "requestTimestamp", "shouldCompleteOnboarding", "shouldDismissHybridAppOnboarding", - "token", - "transactionID", - "type", - "bankAccountID", "status", "step", - "cardData", - "field", "timeDiff", - "currentTime", - "requestTimestamp" + "token", + "transactionID", + "type", }; string addLogParams(string&& message, const map& params) {