Skip to content

Commit deeb57a

Browse files
committed
use Display for nested header error message
1 parent 5a0a7ba commit deeb57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ pub enum ClientInitError {
338338
#[error("Invalid URI: {0:?}")]
339339
InvalidUri(#[from] InvalidUri),
340340
/// Invalid gRPC metadata headers. Configuration error.
341-
#[error("Invalid headers: {0:?}")]
341+
#[error("Invalid headers: {0}")]
342342
InvalidHeaders(#[from] InvalidHeaderError),
343343
/// Server connection error. Crashing and restarting the worker is likely best.
344344
#[error("Server connection error: {0:?}")]

0 commit comments

Comments
 (0)