This pull request improves error handling in the DownloadService by adding checks for empty responses from download clients. If an empty response is detected, a warning is logged and the method returns early, preventing potential errors during deserialization.
Error handling improvements for download clients:
- Added a check for empty response content in
GetTransmissionQueueAsync, logging a warning and returning early if the response is empty. - Added a similar check in
GetSABnzbdQueueAsyncto handle empty responses gracefully, with appropriate logging. - Implemented empty response handling in
GetNZBGetQueueAsync, ensuring a warning is logged and avoiding further processing.
Automated canary build