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(rollup): better error details #579

merged 8 commits into from Apr 9, 2019

fix(rollup): better error details #579

merged 8 commits into from Apr 9, 2019


Copy link

@tivac tivac commented Apr 8, 2019


Show the postcss error.toString() output in rollup & svelte errors since it's way more descriptive than the default error.message.

Motivation and Context

Fixes #578

How Has This Been Tested?

Added tests, verified it outputs useful errors

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)


  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
tivac added 7 commits Apr 8, 2019
Instead of the garbage useless default ones.
Makes for a nicer debugging experience
Since apparently an ESLint upgrade started causing some weird results?
Just overwrite .message w/ the value of .toString() since it's more useful
Copy link

@codecov codecov bot commented Apr 8, 2019

Codecov Report

Merging #579 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #579      +/-   ##
+ Coverage   98.89%   98.9%   +<.01%     
  Files          47      47              
  Lines        1178    1188      +10     
  Branches      183     183              
+ Hits         1165    1175      +10     
  Misses         13      13
Impacted Files Coverage Δ
packages/svelte/svelte.js 100% <100%> (ø) ⬆️
packages/rollup/rollup.js 100% <100%> (ø) ⬆️

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 643955c...58c281e. Read the comment docs.


@tivac tivac merged commit 15da7ff into master Apr 9, 2019
9 checks passed
@tivac tivac deleted the rollup-error-details branch Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant