Compare commits
1 Commits
aa10f715ed
...
249688dfc4
Author | SHA1 | Date | |
---|---|---|---|
|
249688dfc4 |
@@ -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
|
||||
|
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user