-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the max size of logged eqwalizer errors
Summary: When people turn on debug logging, it can generate strings that are too long for VS Code to handle, > 512MB. These typically originate from eqwalizer, when it returns a problem. Add function to limit a string length for logging, and apply it to possible origins in Eqwalizer ELP code. There are two variants of the limiting function, one takes a max length, the other uses a constant value. Reviewed By: VLanvin Differential Revision: D69311050 fbshipit-source-id: 53188669f2096f25a5e5809a7e49cdc807cdc96f
- Loading branch information
1 parent
e832fa7
commit bfd3f5f
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters