don't return useless error

This commit is contained in:
Erica Z 2024-11-19 18:55:22 +01:00
parent 7cdbee487c
commit cc35e1f5be

View file

@ -204,11 +204,7 @@ impl Client {
})
}
sender.send(perform(future.await).await).await.map_err(|_| {
Error::OtherError(
"failed to send back response from tokio request (future probably cancelled)",
)
})
let _ = sender.send(perform(future.await).await).await;
});
receiver