We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 060e435 + b5a74f7 commit e8c8c90Copy full SHA for e8c8c90
src/imageproxy.rs
@@ -446,12 +446,7 @@ impl ImageProxy {
446
let req = Self::impl_request_raw(Arc::clone(&self.sockfd), Request::new(method, args));
447
let mut childwait = self.childwait.lock().await;
448
tokio::select! {
449
- r = req => {
450
- r.map_err(|e| Error::RequestInitiationFailure {
451
- method: method.to_string().into(),
452
- error: e.to_string().into()
453
- })
454
- }
+ r = req => { r }
455
r = childwait.as_mut() => {
456
let r = r.map_err(|e| Error::Other(e.to_string().into()))??;
457
let stderr = String::from_utf8_lossy(&r.stderr);
0 commit comments