Improve error message when it fails to pull tags (#19)

This commit is contained in:
Gervasio Marchand 2022-12-20 19:24:45 -08:00 committed by GitHub
parent 23be734a5e
commit 44b47acbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ await Parallel.ForEachAsync(sitesTags, parallelOptions, async (st, _) =>
} }
catch (Exception e) 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; return;
} }