soapy_power
soapy_power copied to clipboard
Handle stream exceptions gracefully
By catching stream exceptions, this patch ensures the data accumulated prior to the exception is written to the output before shutting down.
Notably, this catches timeout errors when the device is yanked, reducing data loss.