1 Commits

Author SHA1 Message Date
cuddle-please
249688dfc4 chore(release): 0.0.4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-08-03 11:30:00 +00:00
2 changed files with 5 additions and 4 deletions

View File

@@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.0.4] - 2025-08-03
### Added
- sanitise output
- replace output spawn with native tokio method
### Other

View File

@@ -59,10 +59,12 @@ impl RemoteCopier {
let resp = client.paste(PasteRequest {}).await?;
let output = resp.into_inner().content;
let output = String::from_utf8_lossy(&output);
tracing::info!(content = output.to_string(), "received paste response");
tracing::info!(
content = std::str::from_utf8(&output).unwrap_or_default(),
"received paste response"
);
Ok(output.as_bytes().to_vec())
Ok(output)
}
}