pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

crash_reports: add optional timeout to `get_new_sysdiagnose`

Open StephenGemin opened this issue 1 year ago • 0 comments

If there are any issues collecting sysdiagnose archive, it could potentially hang at this API. This provides a backwards compatible way for fully automated (and unmonitored) test applications to continue with execution.

Updates

  • add optional timeout keyword to get_new_sysdiagnose signature
  • on timeout raise error SysdiagnoseTimeoutError

StephenGemin avatar Jan 10 '24 21:01 StephenGemin