According to code, each task has an Exception property, however this cannot get used, because we call Task.WaitAll() in EawXBuildApplication. This means: Once we recieve an exception from a task, this method thorws an AggregateException.
All code behind this call (and all the logging with it) is gone.
Suggested Fix:
try
{
Task.WaitAll(tasks.ToArray());
}
catch (AggregateException)
{
// Eat exception
}
catch (Exception e)
{
_logger.LogCritical($"Internal pipeline error {e.Message}\n{e.Message}");
throw e;
}
According to code, each task has an
Exceptionproperty, however this cannot get used, because we callTask.WaitAll()inEawXBuildApplication. This means: Once we recieve an exception from a task, this method thorws an AggregateException.All code behind this call (and all the logging with it) is gone.
Suggested Fix: