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

When throwing ConfigMissingError, keep error message succint #550

Open
AbhinavMir opened this issue Feb 14, 2024 · 1 comment
Open

When throwing ConfigMissingError, keep error message succint #550

AbhinavMir opened this issue Feb 14, 2024 · 1 comment

Comments

@AbhinavMir
Copy link

here, Solhint throws the error trace from Node itself, this is a little distracting because the error is of the format

<location of error>
<actual error>
<the entire trace>

But a better format IMO would be just showing the actual error and then presenting a potential fix.

To reproduce:

  1. .solhint.json
{
  "extends": "willThrowError"
}
  1. solhint <command>
@dbale-altoros
Copy link
Collaborator

thanks a lot @AbhinavMir for your input
sorry the delay

could you elaborate a little more ? I'm not getting your point

thanks

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

No branches or pull requests

2 participants