This commit is contained in:
@@ -271,7 +271,6 @@ namespace Sockeye.Biz
|
|||||||
await SockBotProcessPurchasesIntoLicenses.DoWorkAsync();
|
await SockBotProcessPurchasesIntoLicenses.DoWorkAsync();
|
||||||
if (!KeepOnWorking()) return;
|
if (!KeepOnWorking()) return;
|
||||||
|
|
||||||
|
|
||||||
//JOB SWEEPER
|
//JOB SWEEPER
|
||||||
await CoreJobSweeper.DoWorkAsync();
|
await CoreJobSweeper.DoWorkAsync();
|
||||||
if (!KeepOnWorking()) return;
|
if (!KeepOnWorking()) return;
|
||||||
|
|||||||
@@ -358,17 +358,14 @@ namespace Sockeye.Biz
|
|||||||
if (newLicense == null)
|
if (newLicense == null)
|
||||||
{
|
{
|
||||||
//did not save, throw an error
|
//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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
var err = "SockBotProcessPurchasesIntoLicenses error running job";
|
var err = "SockBotProcessPurchasesIntoLicenses exepected exception error running job";
|
||||||
//serious issue requires immediate notification
|
//serious issue requires immediate notification
|
||||||
await NotifyEventHelper.AddOpsProblemEvent(err, ex);
|
await NotifyEventHelper.AddOpsProblemEvent(err, ex);
|
||||||
log.LogError(ex, err);
|
log.LogError(ex, err);
|
||||||
|
|||||||
Reference in New Issue
Block a user