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

eprint protoc args & stderr #30

Closed
wants to merge 2 commits into from

Conversation

alexheretic
Copy link
Contributor

protoc can exit 0 but not actually work. This PR prints protoc args & stderr output so that this will appear if the build fails.

Comment on lines +88 to +91
eprintln!(
"---protoc stderr---\n{}\n------",
String::from_utf8_lossy(&out.stderr).trim()
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shall we also output stdout? Just in case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did initially but it doesn't seem to use it, so removed for simplicity.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can add it if you like?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah ok, I think it's fine then

conradludgate
conradludgate previously approved these changes Aug 31, 2022
@conradludgate
Copy link
Collaborator

Not sure why CI isn't running, can you push an empty commit to nudge it?

@conradludgate
Copy link
Collaborator

I don't have admin to fix the required CI checks for the branch protection 😭

@conradludgate
Copy link
Collaborator

Merged into dev branch and published as 4.1.0

@alexheretic alexheretic deleted the eprint-protoc branch September 6, 2022 07:23
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.

None yet

3 participants