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

dx: add rpt2 prefix to remaining errors #382

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

agilgur5
Copy link
Collaborator

Summary

Add rpt2: prefix to remaining, unprefixed error messages

Details

  • most were added in ff88951, but these two were missed

  • this should now cover all thrown errors

    • they only get thrown in the options hook, which does not implement Rollup's this.error
    • all other errors are already auto-prefixed by RollupContext etc

- most were added in ff88951, but these two were missed

- this should now cover all **thrown** errors
  - they only get thrown in the `options` hook, which does not implement Rollup's `this.error`
  - all other errors are already auto-prefixed by RollupContext etc
@agilgur5 agilgur5 added the kind: feature New feature or request label Jul 10, 2022
@agilgur5
Copy link
Collaborator Author

agilgur5 commented Jul 10, 2022

Tests are failing due to #377 ; the ones that check these changed error messages still pass

@ezolenko ezolenko merged commit 0628482 into ezolenko:master Jul 12, 2022
@agilgur5 agilgur5 added kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc and removed kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc kind: feature New feature or request labels Jul 22, 2022
@agilgur5 agilgur5 changed the title feat: add rpt2 prefix to remaining errors dx: add rpt2 prefix to remaining errors Jul 22, 2022
@agilgur5 agilgur5 deleted the feat-prefix-on-remaining-errors branch July 2, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add prefix to more error messages to improve DX
2 participants