This commit is contained in:
@@ -271,7 +271,6 @@ namespace Sockeye.Biz
|
||||
await SockBotProcessPurchasesIntoLicenses.DoWorkAsync();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
|
||||
//JOB SWEEPER
|
||||
await CoreJobSweeper.DoWorkAsync();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user