Print task timeouts as connection timeouts

pull/115/head DepotDownloader_2.3.6
Ryan Kistner 5 years ago
parent 4299c23bed
commit f8d67d8c9b

@ -958,6 +958,10 @@ namespace DepotDownloader
Console.WriteLine( "Encountered error downloading chunk {0}: {1}", chunkID, e.StatusCode );
}
}
catch ( TaskCanceledException )
{
Console.WriteLine( "Connection timeout downloading chunk {0}", chunkID );
}
catch ( Exception e )
{
cdnPool.ReturnBrokenConnection( connection );

Loading…
Cancel
Save