feat(netd): log params when catching errors

This commit is contained in:
matt1432 2025-01-17 01:32:06 -05:00
parent 48f0552437
commit 810ded76c5
5 changed files with 5 additions and 5 deletions

View file

@ -40,7 +40,7 @@ namespace NetDaemonConfig.Apps.Spotify.PauseUnpause
catch (Exception error)
{
services.Notify.PersistentNotification(
message: error.Message,
message: error.Message + "\n" + e.ToString(),
title: "Erreur Spotify");
}
}

View file

@ -110,7 +110,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum
catch (Exception error)
{
services.Notify.PersistentNotification(
message: error.Message,
message: error.Message + "\n" + e.ToString(),
title: "Erreur Spotify");
}
}

View file

@ -58,7 +58,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayArtist
catch (Exception error)
{
services.Notify.PersistentNotification(
message: error.Message,
message: error.Message + "\n" + e.ToString(),
title: "Erreur Spotify");
}
}

View file

@ -92,7 +92,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayPlaylist
catch (Exception error)
{
services.Notify.PersistentNotification(
message: error.Message,
message: error.Message + "\n" + e.ToString(),
title: "Erreur Spotify");
}
}

View file

@ -59,7 +59,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlaySong
catch (Exception error)
{
services.Notify.PersistentNotification(
message: error.Message,
message: error.Message + "\n" + e.ToString(),
title: "Erreur Spotify");
}
}