Index: codex-rs/apply-patch/src/lib.rs
--- codex-rs/apply-patch/src/lib.rs.orig
+++ codex-rs/apply-patch/src/lib.rs
@@ -438,7 +438,7 @@ async fn apply_hunks_with_options(
             Ok(delta)
         }
         Err(error) => {
-            let msg = error.to_string();
+            let msg = format!("{error:#}");
             writeln!(stderr, "{msg}").map_err(|error| {
                 ApplyPatchFailure::new(ApplyPatchError::from(error), delta.clone())
             })?;
