From dbfee523445608f2680a68dda5851883c3c6651c Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 31 Aug 2025 08:13:47 +0200 Subject: [PATCH 1/4] Update ContentDownloader.cs --- DepotDownloader/ContentDownloader.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 967cc499..d417028b 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -834,7 +834,7 @@ namespace DepotDownloader break; } - Console.WriteLine("Encountered error downloading depot manifest {0} {1}: {2}", depot.DepotId, depot.ManifestId, e.StatusCode); + Console.WriteLine("Encountered {2} for depot manifest {0} {1}. Retrying.", depot.DepotId, depot.ManifestId, e.StatusCode); } catch (OperationCanceledException) { @@ -843,7 +843,7 @@ namespace DepotDownloader catch (Exception e) { cdnPool.ReturnBrokenConnection(connection); - Console.WriteLine("Encountered error downloading manifest for depot {0} {1}: {2}", depot.DepotId, depot.ManifestId, e.Message); + Console.WriteLine("Error downloading manifest for depot {0} {1} ({2}). Retrying.", depot.DepotId, depot.ManifestId, e.Message); } } while (newManifest == null); @@ -1258,7 +1258,7 @@ namespace DepotDownloader break; } - Console.WriteLine("Encountered error downloading chunk {0}: {1}", chunkID, e.StatusCode); + Console.WriteLine("Encountered {1} for chunk {0}. Retrying.", chunkID, e.StatusCode); } catch (OperationCanceledException) { @@ -1267,7 +1267,7 @@ namespace DepotDownloader catch (Exception e) { cdnPool.ReturnBrokenConnection(connection); - Console.WriteLine("Encountered unexpected error downloading chunk {0}: {1}", chunkID, e.Message); + Console.WriteLine("Error downloading chunk {0}: {1}. Retrying.", chunkID, e.Message); } } while (written == 0); From 0dbdecb538cad1056d8f3147e9c0b732e7c3862e Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 31 Aug 2025 08:15:18 +0200 Subject: [PATCH 2/4] Update ContentDownloader.cs --- DepotDownloader/ContentDownloader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index d417028b..079d7ebe 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -843,7 +843,7 @@ namespace DepotDownloader catch (Exception e) { cdnPool.ReturnBrokenConnection(connection); - Console.WriteLine("Error downloading manifest for depot {0} {1} ({2}). Retrying.", depot.DepotId, depot.ManifestId, e.Message); + Console.WriteLine("Error downloading manifest for depot {0} {1}: {2} Retrying.", depot.DepotId, depot.ManifestId, e.Message); } } while (newManifest == null); @@ -1267,7 +1267,7 @@ namespace DepotDownloader catch (Exception e) { cdnPool.ReturnBrokenConnection(connection); - Console.WriteLine("Error downloading chunk {0}: {1}. Retrying.", chunkID, e.Message); + Console.WriteLine("Error downloading chunk {0}: {1} Retrying.", chunkID, e.Message); } } while (written == 0); From e1ece758fd3d035d2c8fce5882c73e771fa21b97 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 1 Sep 2025 03:33:58 +0200 Subject: [PATCH 3/4] Update DepotDownloader/ContentDownloader.cs Co-authored-by: Yaakov --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 079d7ebe..e7bf3b66 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -834,7 +834,7 @@ namespace DepotDownloader break; } - Console.WriteLine("Encountered {2} for depot manifest {0} {1}. Retrying.", depot.DepotId, depot.ManifestId, e.StatusCode); + Console.WriteLine("Encountered HTTP {2:D} for depot manifest {0} {1}. Retrying.", depot.DepotId, depot.ManifestId, e.StatusCode); } catch (OperationCanceledException) { From 6cb0ffe3a0be8d4b891a3a8507e43b393d2fca90 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 1 Sep 2025 03:36:28 +0200 Subject: [PATCH 4/4] Update ContentDownloader.cs --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index e7bf3b66..079d7ebe 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -834,7 +834,7 @@ namespace DepotDownloader break; } - Console.WriteLine("Encountered HTTP {2:D} for depot manifest {0} {1}. Retrying.", depot.DepotId, depot.ManifestId, e.StatusCode); + Console.WriteLine("Encountered {2} for depot manifest {0} {1}. Retrying.", depot.DepotId, depot.ManifestId, e.StatusCode); } catch (OperationCanceledException) {