proto: Fix cloned errors losing all context (#43393)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -126,7 +126,7 @@ impl ErrorExt for anyhow::Error {
|
||||
if let Some(rpc_error) = self.downcast_ref::<RpcError>() {
|
||||
rpc_error.cloned()
|
||||
} else {
|
||||
anyhow::anyhow!("{self}")
|
||||
anyhow::anyhow!("{self:#}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user