Skip to content

fix: hide error stacktrace on Sass errors#1069

Merged
alexander-akait merged 1 commit intowebpack:masterfrom
alan-agius4:error-stacks-
Jun 27, 2022
Merged

fix: hide error stacktrace on Sass errors#1069
alexander-akait merged 1 commit intowebpack:masterfrom
alan-agius4:error-stacks-

Conversation

@alan-agius4
Copy link
Copy Markdown
Contributor

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Stacktraces can bloat the output with information that is not needed for the user to fix a Sass related syntax error.

Closes #1068

Stacktraces can bloat the output with information that is not needed for the user to fix a Sass related syntax error.

Closes webpack#1068
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 27, 2022

Codecov Report

Merging #1069 (aeca4c0) into master (5f0658e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1069   +/-   ##
=======================================
  Coverage   94.10%   94.10%           
=======================================
  Files           5        5           
  Lines         373      373           
  Branches      137      137           
=======================================
  Hits          351      351           
  Misses         19       19           
  Partials        3        3           
Impacted Files Coverage Δ
src/SassError.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f0658e...aeca4c0. Read the comment docs.

@alexander-akait alexander-akait merged commit 5e6a61b into webpack:master Jun 27, 2022
@alexander-akait
Copy link
Copy Markdown
Member

Thank you

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.

Errors for modern API include stack

2 participants