We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fea0273 commit 2b693c0Copy full SHA for 2b693c0
1 file changed
idevice/src/remote_pairing/socket.rs
@@ -185,7 +185,7 @@ impl<R: ReadWrite> RpPairingSocketProvider for RemoteXpcClient<R> {
185
&'a mut self,
186
) -> Pin<Box<dyn Future<Output = Result<plist::Value, IdeviceError>> + Send + 'a>> {
187
Box::pin(async move {
188
- let msg = self.recv_root().await.unwrap();
+ let msg = self.recv_root().await?;
189
debug!("Received RemoteXPC {}", pretty_print_plist(&msg));
190
let msg = msg.into_dictionary().and_then(|mut x| x.remove("value"));
191
0 commit comments