Skip to content

Commit

Permalink
forgot to propagate an error (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpaulus authored Apr 29, 2021
1 parent 3c0b9b4 commit e053e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/readpairrecord.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (muxConn *UsbMuxConnection) ReadPair(udid string) (PairRecord, error) {
return PairRecord{}, fmt.Errorf("Error reading PairRecord: %v", err)
}
pairRecordData, err := pairRecordDatafromBytes(resp.Payload)
return PairRecordfromBytes(pairRecordData.PairRecordData), nil
return PairRecordfromBytes(pairRecordData.PairRecordData), err
}

//ReadPairRecord creates a new USBMuxConnection just to read the pair record and closes it right after than.
Expand Down

0 comments on commit e053e33

Please sign in to comment.