fix mistake of rethrowing exception (which loses call stack) to just throw (which does not)
This commit is contained in:
@@ -482,7 +482,7 @@ namespace AyaNova.Util
|
||||
log.LogError(ex, "Seeder:SeedDatabase error during ops");
|
||||
if (LogJob)
|
||||
await JobsBiz.LogJobAsync(JobId, $"Seeder:SeedDatabase error during ops\r\n{ex.Message}");
|
||||
throw ex;
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user