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

Port error handlers to CLI #941

Merged
merged 7 commits into from
Oct 17, 2023
Merged

Port error handlers to CLI #941

merged 7 commits into from
Oct 17, 2023

Conversation

camden11
Copy link
Contributor

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 from cli-lib to the CLI. There is one instance in webpack-cms-plugins where I had to copy some stuff over, but don't think that one spot is worth keeping these in cli-lib for.

Who to Notify

@brandenrodgers

);
};

const contactSupportString =
Copy link
Contributor

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.

Copy link
Contributor Author

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!

@camden11 camden11 force-pushed the port-error-handlers branch from 9f9c630 to 26c3f86 Compare October 17, 2023 16:41
Copy link
Contributor

@brandenrodgers brandenrodgers left a 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 👌

@camden11 camden11 merged commit d2f1eb8 into master Oct 17, 2023
1 check passed
@camden11 camden11 deleted the port-error-handlers branch October 17, 2023 19:27
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.

2 participants