fix: 🐛 Fix sanitizing of tokens when logging (#3036)

This commit is contained in:
Zhihe Li authored and GitHub committed 2025-10-29 17:05:22 -04:00
1 parent 866972c6c6
commit 838bc37243
1 file changed
+1 -1
@@ -177,7 +177,7 @@ const searchCliCommand = (requestData) => {
// Log request data and response, but clean up token from log
const requestCopy = { ...requestData };
delete requestData.token;
delete requestCopy.token;
log.error(`searchCliCommand(${JSON.stringify(requestCopy)}):`, stderr);
return generateErrorPromise(stderr);