Skip to content

Ditch anyhow dependency#552

Merged
tikue merged 1 commit intogoogle:mainfrom
stepancheg:ditch-anyhow
Mar 25, 2026
Merged

Ditch anyhow dependency#552
tikue merged 1 commit intogoogle:mainfrom
stepancheg:ditch-anyhow

Conversation

@stepancheg
Copy link
Copy Markdown
Contributor

Unify how errors are printed on client and server.

And while on it, remove anyhow dependency in favor or simple error stack printing.

Implementation is taken from there https://github.com/hyperium/tonic/blob/master/tonic/src/transport/server/display_error_stack.rs . That code was written by me, so it's OK.

In this PR I kept original name print_err rather than inlining it into DisplayErrorStack to minimize the diff.

@tikue
Copy link
Copy Markdown
Collaborator

tikue commented Mar 25, 2026

Looks like there's a clippy lint, otherwise lgtm!

@stepancheg
Copy link
Copy Markdown
Contributor Author

Should be good now.

@tikue tikue added this pull request to the merge queue Mar 25, 2026
Merged via the queue into google:main with commit 41754ed Mar 25, 2026
32 checks passed
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.

3 participants