This commit is contained in:
@@ -436,6 +436,7 @@ namespace AyaNova.Core
|
|||||||
{
|
{
|
||||||
log.LogInformation("TEST MODE TRIAL LICENSE KEY BEING FETCHED");
|
log.LogInformation("TEST MODE TRIAL LICENSE KEY BEING FETCHED");
|
||||||
sUrl = $"{LICENSE_SERVER_URL}rvf/{TEST_TRIAL_KEY_DBID.ToString()}";
|
sUrl = $"{LICENSE_SERVER_URL}rvf/{TEST_TRIAL_KEY_DBID.ToString()}";
|
||||||
|
log.LogInformation(sUrl);
|
||||||
}
|
}
|
||||||
//##########################################################################################################
|
//##########################################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ namespace AyaNova.Util
|
|||||||
//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)
|
||||||
{
|
{
|
||||||
var msg = "This database has a registered license key so it can't be seeded";
|
var msg = $"This database has a registered license key so it can't be seeded: {AyaNova.Core.License.LicenseInfoLogFormat}";
|
||||||
await LogStatusAsync(JobId, LogJob, log, msg);
|
await LogStatusAsync(JobId, LogJob, log, msg);
|
||||||
throw new System.NotSupportedException(msg);
|
throw new System.NotSupportedException(msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user