-
Notifications
You must be signed in to change notification settings - Fork 63
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
Port error handlers to CLI #941
Conversation
); | ||
}; | ||
|
||
const contactSupportString = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This copy should probably live in the translations file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved all copy from all 3 error files to lang file!
9f9c630
to
26c3f86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and lgtm 👌
Description and Context
See https://git.hubteam.com/HubSpot/hubspot-cli-issues/issues/481
The CLI uses these
errorHandler
utils to log errors in a user friendly fashion. Since they are interface related, we're moving them fromcli-lib
to the CLI. There is one instance inwebpack-cms-plugins
where I had to copy some stuff over, but don't think that one spot is worth keeping these incli-lib
for.Who to Notify
@brandenrodgers