Skip to content

Commit 38bfe78

Browse files
committed
🚑 fix: fix logging sybmol issue #3157
1 parent 5ff70d0 commit 38bfe78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging/logging.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sensitiveKeys = [
2323
];
2424

2525
function isSensitiveKey(keyStr) {
26-
if (keyStr) {
26+
if (keyStr && typeof keyStr == "string") {
2727
return sensitiveKeys.some(regex => regex.test(keyStr));
2828
}
2929
}

0 commit comments

Comments
 (0)