proto: Fix cloned errors losing all context (#43393)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-11-24 12:13:20 +00:00
committed by GitHub
parent f8729f6ea0
commit a0fa5d57c1
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -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:#}")
}
}
}