1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Use the thrown exception in http timeout handling

(cherry picked from commit 14e324ee30694ae017a39fd6f66392dc2d104617)
This commit is contained in:
Bogdan
2025-05-05 10:58:26 +03:00
parent 5af61b5900
commit d14cca30d7

View File

@@ -141,7 +141,7 @@ namespace NzbDrone.Common.Http.Dispatchers
}
catch (OperationCanceledException ex) when (cts.IsCancellationRequested)
{
throw new WebException("Http request timed out", ex.InnerException, WebExceptionStatus.Timeout, null);
throw new WebException("Http request timed out", ex, WebExceptionStatus.Timeout, null);
}
}