From 44b47acbfe3ec961fd57d18c14b267d85038661c Mon Sep 17 00:00:00 2001 From: Gervasio Marchand Date: Tue, 20 Dec 2022 19:24:45 -0800 Subject: [PATCH] Improve error message when it fails to pull tags (#19) --- src/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Program.cs b/src/Program.cs index d556a98..d970c7a 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -91,7 +91,7 @@ await Parallel.ForEachAsync(sitesTags, parallelOptions, async (st, _) => } catch (Exception e) { - Console.WriteLine($"Error fetching tag, status code: {response?.StatusCode}. Error: {e.Message}"); + Console.WriteLine($"Error fetching tag {tag} from {site}, status code: {response?.StatusCode}. Error: {e.Message}"); return; }