@@ -254,7 +254,7 @@ impl Client {
254 // TODO: specifiable timeout, delay other calls until initialize success
254 // TODO: specifiable timeout, delay other calls until initialize success
255 timeout(Duration::from_secs(20), callback_rx.recv())
255 timeout(Duration::from_secs(20), callback_rx.recv())
257− .map_err(|_| Error::Timeout)? // return Timeout
257+ .map_err(|_| Error::Timeout(id))? // return Timeout
258 .ok_or(Error::StreamClosed)?
258 .ok_or(Error::StreamClosed)?
259 .map(|response| response.body.unwrap_or_default())
259 .map(|response| response.body.unwrap_or_default())
260 // TODO: check response.success
260 // TODO: check response.success