update GetThumbnailUrlAsync logging

This commit is contained in:
bluepilledgreat 2025-03-28 19:28:21 +00:00
parent fe8d85da58
commit 90316ae4e7

View File

@ -92,6 +92,8 @@ namespace Bloxstrap.Utility
if (response.State == "Pending") if (response.State == "Pending")
App.Logger.WriteLine(LOG_IDENT, $"{response.TargetId} is still pending"); App.Logger.WriteLine(LOG_IDENT, $"{response.TargetId} is still pending");
else if (item.State == "Error")
App.Logger.WriteLine(LOG_IDENT, $"{item.TargetId} got error code {item.ErrorCode} ({item.ErrorMessage})");
else if (response.State != "Completed") else if (response.State != "Completed")
App.Logger.WriteLine(LOG_IDENT, $"{response.TargetId} got \"{response.State}\""); App.Logger.WriteLine(LOG_IDENT, $"{response.TargetId} got \"{response.State}\"");