This commit is contained in:
2019-10-22 23:11:58 +00:00
parent 7ab06a82af
commit 26acea7415
2 changed files with 7 additions and 5 deletions

View File

@@ -442,10 +442,12 @@ namespace AyaNova.Biz
// { // {
// AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Count", "Test field server error"); // AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Count", "Test field server error");
// } // }
if (proposedObj.DollarAmount == 666.66M)
{ //removed because seeding huge kept triggering this
AddError(ApiErrorCode.INVALID_OPERATION, null, "This is a test of a general server error"); // if (proposedObj.DollarAmount == 666.66M)
} // {
// AddError(ApiErrorCode.INVALID_OPERATION, null, "This is a test of a general server error");
// }
//TESTING //TESTING
#endif #endif

View File

@@ -45,7 +45,7 @@ namespace AyaNova.Util
try try
{ {
LogStatus(JobId, LogJob, log, $"SEEDER: Seed data level - {slevel.ToString()}, timeZoneOffset - {timeZoneOffset.ToString()}"); LogStatus(JobId, LogJob, log, $"SEEDER: Seeding data level is {slevel.ToString()}, time zone offset is {timeZoneOffset.ToString()}");
//Only allow this in a trial database //Only allow this in a trial database
if (!AyaNova.Core.License.ActiveKey.TrialLicense) if (!AyaNova.Core.License.ActiveKey.TrialLicense)