Skip to content

Commit

Permalink
[OTLP] Changed tonic error message to include the server's message in…
Browse files Browse the repository at this point in the history
… the error (open-telemetry#642)
  • Loading branch information
GrandChaman authored Oct 1, 2021
1 parent 0be8e3b commit 2d07745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-otlp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub enum Error {

/// Wrap type for [`tonic::Status`]
#[cfg(feature = "tonic")]
#[error("the grpc server returns error {code}")]
#[error("the grpc server returns error ({code}): {message}")]
Status {
/// grpc status code
code: tonic::Code,
Expand Down

0 comments on commit 2d07745

Please sign in to comment.