mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
update GetThumbnailUrlAsync logging
This commit is contained in:
parent
fe8d85da58
commit
90316ae4e7
@ -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}\"");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user