Skip to content

Commit

Permalink
🚑 fix: fix logging sybmol issue #3157
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Dec 29, 2023
1 parent 5ff70d0 commit 38bfe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const sensitiveKeys = [
];

function isSensitiveKey(keyStr) {
if (keyStr) {
if (keyStr && typeof keyStr == "string") {
return sensitiveKeys.some(regex => regex.test(keyStr));
}
}
Expand Down

0 comments on commit 38bfe78

Please sign in to comment.