Skip to content

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

Merged
Andarist merged 1 commit into
mainfrom
fallback-to-log-stdout-on-err
Aug 5, 2022
Merged

Andarist merged 1 commit into
mainfrom
fallback-to-log-stdout-on-err

Conversation

@Andarist

Copy link
Copy Markdown
Member

@changeset-bot

changeset-bot Bot commented Jun 17, 2022

Copy link
Copy Markdown

🦋 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

}

error(stderr.toString());
error(stderr.toString() || stdout.toString());

Copy link
Copy Markdown
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
Copy Markdown

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