Add exception display and surppress the await warning
This commit is contained in:
parent
6ef765f92b
commit
32a0fce3e7
|
@ -80,7 +80,7 @@ internal static class Program
|
|||
public static async Task Main(String[] args)
|
||||
{
|
||||
//Do not await
|
||||
Aggregator.HourlyDataAggregationManager();
|
||||
Aggregator.HourlyDataAggregationManager().ContinueWith(t=>t.Exception.WriteLine(), TaskContinuationOptions.OnlyOnFaulted).SuppressAwaitWarning();
|
||||
MiddlewareAgent.InitializeCommunicationToMiddleware();
|
||||
while (true)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue