diff --git a/src/XIVLauncher/Windows/OtpInputDialog.xaml.cs b/src/XIVLauncher/Windows/OtpInputDialog.xaml.cs index 8f6013ac8..358741366 100644 --- a/src/XIVLauncher/Windows/OtpInputDialog.xaml.cs +++ b/src/XIVLauncher/Windows/OtpInputDialog.xaml.cs @@ -53,8 +53,14 @@ public OtpInputDialog() try { // Start Listen - Task.Run(() => _otpListener.Start()); - Log.Debug("OTP server started..."); + Task otpListenerTask = Task.Run(() => _otpListener.Start()); + + otpListenerTask.ContinueWith(t => { + if (otpListenerTask.IsCompleted) Log.Information("OTP server started..."); + else if (otpListenerTask.IsCanceled) Log.Information("OTP server cancelled..."); + else if (otpListenerTask.IsFaulted) Log.Error(t.Exception, "OTP server could not be started..."); + }); + } catch (Exception ex) {