This commit is contained in:
2023-02-06 22:20:13 +00:00
parent 6d536b9e92
commit 78ffb9a7f6
2 changed files with 2 additions and 6 deletions

View File

@@ -271,7 +271,6 @@ namespace Sockeye.Biz
await SockBotProcessPurchasesIntoLicenses.DoWorkAsync();
if (!KeepOnWorking()) return;
//JOB SWEEPER
await CoreJobSweeper.DoWorkAsync();
if (!KeepOnWorking()) return;

View File

@@ -358,17 +358,14 @@ namespace Sockeye.Biz
if (newLicense == null)
{
//did not save, throw an error
throw new System.ApplicationException($"Error creating purchase: {lbiz.GetErrorsAsString()} for product item: {SalesItemProductVendorCode} vendor data :{vn.VendorData}");
throw new System.ApplicationException($"Error creating license from purchases: {lbiz.GetErrorsAsString()}");
}
}
}
}
catch (Exception ex)
{
var err = "SockBotProcessPurchasesIntoLicenses error running job";
var err = "SockBotProcessPurchasesIntoLicenses exepected exception error running job";
//serious issue requires immediate notification
await NotifyEventHelper.AddOpsProblemEvent(err, ex);
log.LogError(ex, err);