diff --git a/DS4Windows/DS4Forms/MainWindow.xaml.cs b/DS4Windows/DS4Forms/MainWindow.xaml.cs index 86b8e6bf0..c32275ca9 100644 --- a/DS4Windows/DS4Forms/MainWindow.xaml.cs +++ b/DS4Windows/DS4Forms/MainWindow.xaml.cs @@ -492,10 +492,13 @@ private void PowerEventArrive(object sender, EventArrivedEventArgs e) //Thread.Sleep(60000); //App.rootHub.Start(); - Task.Delay(120000).ContinueWith(t => + Task startupTask = Task.Delay(120000).ContinueWith(t => { App.rootHub.Start(); }); + + // Log exceptions that might occur + Util.LogAssistBackgroundTask(startupTask); } }