-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
eprintln!( | ||
"---protoc stderr---\n{}\n------", | ||
String::from_utf8_lossy(&out.stderr).trim() | ||
); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Not sure why CI isn't running, can you push an empty commit to nudge it? |
bc8664a
to
7b91a6c
Compare
I don't have admin to fix the required CI checks for the branch protection 😭 |
Merged into |
protoc can exit
0
but not actually work. This PR prints protoc args & stderr output so that this will appear if the build fails.