Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove params from logError verbose logging #1205

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Sep 27, 2023

fix: remove params from logError verbose logging

(Discovered and fixed by @philipp-spiess πŸ™‡β€β™€οΈ ) This PR removed the params object from the verbose logging in logError inside getInlineCompletions.

This avoids logging potentially sensitive information from the params as well as invoking the windowActivity proposal API that breaks the extension from displaying the rate limit error properly:

Screenshot 2023-09-27 at 9 29 42 AM

Test plan

After

Reset after 26 year πŸ₯²

Screenshot 2023-09-27 at 10 22 54 AM

Copy link
Contributor

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫑

@abeatrix abeatrix merged commit 17e70d7 into main Sep 27, 2023
10 checks passed
@abeatrix abeatrix deleted the bee/remove-params branch September 27, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants