moving code our of program file

This commit is contained in:
Bobbie Hodgetts
2024-04-17 16:03:15 +01:00
parent c1e6da7a6f
commit f8452d274a
23 changed files with 122 additions and 592 deletions
@@ -56,7 +56,7 @@ namespace bnhtrade.Core.Data.Amazon.ProductFee
if (result.Error.Type != null)
{ sb.AppendLine("Type: " + result.Error.Type); }
MiscFunction.EventLogInsert("Error running GetProductEstimateFee for ASIN:" + asin + ", further details attached.", 1, sb.ToString());
new Logic.Log.LogEvent().EventLogInsert("Error running GetProductEstimateFee for ASIN:" + asin + ", further details attached.", 1, sb.ToString());
throw new Exception("ProductFeeEstimate error, check logs for further details");
}