This commit is contained in:
2020-01-27 21:47:54 +00:00
parent 3c9a6c8ea6
commit cbba819e84
8 changed files with 48 additions and 48 deletions

View File

@@ -394,7 +394,7 @@ namespace AyaNova.Util
{
log.LogError(ex, "Seeder:SeedDatabase error during ops");
if (LogJob)
JobsBiz.LogJob(JobId, $"Seeder:SeedDatabase error during ops\r\n{ex.Message}");
JobsBiz.LogJobAsync(JobId, $"Seeder:SeedDatabase error during ops\r\n{ex.Message}");
throw ex;
}
finally
@@ -412,7 +412,7 @@ namespace AyaNova.Util
{
log.LogInformation(msg);
if (LogJob)
JobsBiz.LogJob(JobId, msg);
JobsBiz.LogJobAsync(JobId, msg);
}