You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to format a stupidly long file that is minifed and if an error occurs, it will practically print the entire minified line into console for the error, which can get very long if there's multiple errors.
This discussion was converted from issue #4005 on September 19, 2024 21:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Environment information
What happened?
Trying to format a stupidly long file that is minifed and if an error occurs, it will practically print the entire minified line into console for the error, which can get very long if there's multiple errors.
Example file: https://github.com/SteamDatabase/SteamTracking/blob/5f4d7b2d67fd5b07648a3f3f00857785831724aa/www.counter-strike.net/public/css/csgo_react/main.css
Expected result
Limit the printed code to some context window like 200 characters at most or something like that.
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions