Fixed order of AD1 decoded files + fixed notification + added running status to UI.

This commit is contained in:
Patrick Fic
2020-01-22 14:44:33 -08:00
parent 99cf3efaf1
commit fcdb44d730
5 changed files with 55 additions and 50 deletions

View File

@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace BodyshopUploader.Utils
{
public static class GraphQL
public static class GraphQL
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
@@ -33,10 +33,11 @@ namespace BodyshopUploader.Utils
}
else
{
string exceptionString = "";
logger.Error("Error executing query.");
Array.ForEach(graphQLResponse.Errors, x => logger.Error(x.Message));
Array.ForEach(graphQLResponse.Errors, x => { logger.Error(x.Message); exceptionString = exceptionString + x + ";"; });
logger.Error("---------------------");
return null;
throw new Exception(exceptionString);
}
}
}