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.
1 parent 90f6ce4 commit 279f4adCopy full SHA for 279f4ad
scylla/src/client/session.rs
@@ -1796,9 +1796,8 @@ impl Session {
1796
let result = match effective_timeout {
1797
Some(timeout) => tokio::time::timeout(timeout, runner)
1798
.await
1799
- .map(|res| res.map_err(RequestError::from))
1800
.unwrap_or_else(|_| Err(RequestError::RequestTimeout(timeout))),
1801
- None => runner.await.map_err(RequestError::from),
+ None => runner.await,
1802
};
1803
1804
if let Some((history_listener, request_id)) = history_listener_and_id {
0 commit comments