- add: some logging think

This commit is contained in:
2025-05-05 22:01:59 +03:00
parent 86eeae9a8b
commit 1e1ca47c42
3 changed files with 13 additions and 4 deletions

View File

@@ -160,7 +160,6 @@ public partial class ServerEntryModelView : ViewModelBase
MainViewModel.RequirePage<ContentBrowserViewModel>().Go(Address.ToString(), new ContentPath());
}
public void ToggleFavorites()
{
OnFavoriteToggle?.Invoke();
@@ -228,9 +227,11 @@ public partial class ServerEntryModelView : ViewModelBase
Process.Exited += OnExited;
}
catch (TaskCanceledException)
catch (TaskCanceledException e)
{
PopupMessageService.Popup("Task canceled");
PopupMessageService.Popup("Task canceled: " + e.Message);
_logger.Error("Task canceled");
_logger.Error(e);
}
catch (Exception e)
{