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 logging loop #818

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Fix logging loop #818

merged 2 commits into from
Apr 21, 2023

Conversation

iowillhoit
Copy link
Contributor

@iowillhoit iowillhoit commented Apr 19, 2023

What does this PR do?

On rare occasions an infinite loop was created in our Logger class. The console.error() was being rethrown and caught again by the uncaughtExceptionHandler. A simple change to use console.log() prevents this loop.

What issues does this PR fix or reference?

@W-13038000@
Fixes forcedotcom/cli#1942
Fixes forcedotcom/cli#1408

Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

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

nut failures on plugin-login are unrelated

@mshanemc mshanemc merged commit 28f564e into main Apr 21, 2023
@mshanemc mshanemc deleted the ew/logger-loop branch April 21, 2023 16:10
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.

SFDX creating huge log files SFDX creates enormous log files on my boot drive
2 participants