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

More logging #285

Merged
merged 2 commits into from
Jun 25, 2024
Merged

More logging #285

merged 2 commits into from
Jun 25, 2024

Conversation

trotzig
Copy link
Contributor

@trotzig trotzig commented Jun 25, 2024

This PR adds some logs to the happo-ci script, to help with debugging.

trotzig added 2 commits June 25, 2024 12:44
This will help debugging certain issues.
This commit serves two purposes: One is to output the version of the CLI
in the happo-ci logs. The other purpose is to catch a misconfigured
HAPPO_COMMAND. By attempting to get the version, we can catch errors and
output a helpful message instead of failing with a cryptic message of
this kind:

2024-06-24T21:04:09.6031947Z /some/absolute/path/node_modules/.bin/happo-ci: line 104: node_modules/happo.io/build/cli.js: No such file or directory
@trotzig trotzig requested a review from lencioni June 25, 2024 12:11
@trotzig trotzig merged commit f19781e into master Jun 25, 2024
4 checks passed
@trotzig trotzig deleted the more-logging branch June 25, 2024 20:08
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