diff --git a/src/doc.rs b/src/doc.rs index a2055665..a8247da0 100644 --- a/src/doc.rs +++ b/src/doc.rs @@ -667,15 +667,7 @@ impl Entry { /// before calling [`Self::content_bytes`]. #[uniffi::method(async_runtime = "tokio")] pub async fn content_bytes(&self, doc: Arc) -> Result, IrohError> { - let res = self - .0 - .content_bytes(&doc.inner) - .await - .map(|c| c.to_vec()) - .map_err(|e| { - eprintln!(" failed content bytes: {:?}", e); - e - })?; + let res = self.0.content_bytes(&doc.inner).await.map(|c| c.to_vec())?; Ok(res) } }