Skip to content

[Python Misc] Revert change to print backtrace in server#34877

Closed
XuanWang-Amos wants to merge 1 commit intogrpc:masterfrom
XuanWang-Amos:revert_print_backtrace_change
Closed

[Python Misc] Revert change to print backtrace in server#34877
XuanWang-Amos wants to merge 1 commit intogrpc:masterfrom
XuanWang-Amos:revert_print_backtrace_change

Conversation

@XuanWang-Amos
Copy link
Copy Markdown
Contributor

@XuanWang-Amos XuanWang-Amos commented Nov 3, 2023

Fix: #34853

In order to make debugging easier, we have begun printing backtraces in servers. However, this change has the unintended consequence of printing errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging sink if they want to see errors. We will add this to our documentation later.

@XuanWang-Amos XuanWang-Amos added the release notes: no Indicates if PR should not be in release notes label Nov 3, 2023
@XuanWang-Amos XuanWang-Amos marked this pull request as ready for review November 3, 2023 19:23
@zyv
Copy link
Copy Markdown

zyv commented Dec 4, 2023

Hi there, any news on when this is going to be released? It's blocking Pulumi on Python 3.12 for everybody :-(

pulumi/pulumi#14258

@justinvp
Copy link
Copy Markdown

justinvp commented Dec 7, 2023

🎉 @XuanWang-Amos, @gnossen, do you know when this will be released?

paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Dec 8, 2023
Fix: grpc#34853

In order to make debugging easier, we have begun printing backtraces in servers. However, this change has the unintended consequence of printing errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging sink if they want to see errors. We will add this to our documentation later.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes grpc#34877

COPYBARA_INTEGRATE_REVIEW=grpc#34877 from XuanWang-Amos:revert_print_backtrace_change 8942308
PiperOrigin-RevId: 588885550
@justinvp
Copy link
Copy Markdown

@XuanWang-Amos, when will this be released? Thank you!

XuanWang-Amos added a commit to XuanWang-Amos/grpc that referenced this pull request Jan 5, 2024
Fix: grpc#34853

In order to make debugging easier, we have begun printing backtraces in servers. However, this change has the unintended consequence of printing errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging sink if they want to see errors. We will add this to our documentation later.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes grpc#34877

COPYBARA_INTEGRATE_REVIEW=grpc#34877 from XuanWang-Amos:revert_print_backtrace_change 8942308
PiperOrigin-RevId: 588885550
veblush pushed a commit that referenced this pull request Jan 10, 2024
…kport) (#35462)

Backport of #34877 to v1.60.x.
---
Fix: #34853

In order to make debugging easier, we have begun printing backtraces in
servers. However, this change has the unintended consequence of printing
errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging
sink if they want to see errors. We will add this to our documentation
later.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/Python release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: Calling an unimplemented method causes a traceback to be emitted to stderr in the server process

5 participants