diff --git a/csharp/App/SaliMax/src/Program.cs b/csharp/App/SaliMax/src/Program.cs index 96ba94df8..1dd643d36 100644 --- a/csharp/App/SaliMax/src/Program.cs +++ b/csharp/App/SaliMax/src/Program.cs @@ -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) {