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

Feat/3140/better error message on mixin missing #3145

Merged

Conversation

dgannon991
Copy link
Member

What does this change

Added more detail to the error message when a mixin is missing if you lint or build.

image

What issue does it fix

Closes #3140

Notes for the reviewer

I just dumped out some useful commands into the error message, if there's a better syntax or format, please do shout! This is also just a suggestion as I found it confusing and had to use the debugger to find out what was actually wrong!

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
@schristoff schristoff merged commit b7b00c5 into getporter:main Jun 3, 2024
37 checks passed
@dgannon991 dgannon991 deleted the feat/3140/better-error-message branch June 4, 2024 07:59
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.

Running Lint or Build with a missing mixin produces a vague error
2 participants