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

Attempt to log when publish fails if is empty and JSON error can't be retrieved from none of those #844

Merged
merged 1 commit into from Aug 5, 2022

Conversation

Andarist
Copy link
Member

@changeset-bot
Copy link

changeset-bot bot commented Jun 17, 2022

🦋 Changeset detected

Latest commit: fd9aecf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -214,7 +214,7 @@ async function internalPublish(
);
}

error(stderr.toString());
error(stderr.toString() || stdout.toString());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually not sure if this is going to help anything - but IMHO it's worth doing regardless.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fd9aecf:

Sandbox Source
Vanilla Configuration

@Andarist Andarist merged commit 8627ec1 into main Aug 5, 2022
@Andarist Andarist deleted the fallback-to-log-stdout-on-err branch August 5, 2022 08:14
@github-actions github-actions bot mentioned this pull request Aug 5, 2022
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.

Getting error without description when publishing
1 participant