fix mistake of rethrowing exception (which loses call stack) to just throw (which does not)
This commit is contained in:
@@ -92,7 +92,7 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
log.LogError(ex, "sweepAsync exception calling JobsBiz.RemoveJobAndLogsAsync");
|
log.LogError(ex, "sweepAsync exception calling JobsBiz.RemoveJobAndLogsAsync");
|
||||||
//for now just throw it but this needs to be removed when logging added and better handling
|
//for now just throw it but this needs to be removed when logging added and better handling
|
||||||
throw (ex);
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -142,7 +142,7 @@ namespace AyaNova.Biz
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
log.LogError(ex, "SweepInternalJobsLogsAsync exception removed old log entries");
|
log.LogError(ex, "SweepInternalJobsLogsAsync exception removed old log entries");
|
||||||
throw (ex);
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user