feat(netd): log params when catching errors
This commit is contained in:
parent
48f0552437
commit
810ded76c5
5 changed files with 5 additions and 5 deletions
|
@ -40,7 +40,7 @@ namespace NetDaemonConfig.Apps.Spotify.PauseUnpause
|
||||||
catch (Exception error)
|
catch (Exception error)
|
||||||
{
|
{
|
||||||
services.Notify.PersistentNotification(
|
services.Notify.PersistentNotification(
|
||||||
message: error.Message,
|
message: error.Message + "\n" + e.ToString(),
|
||||||
title: "Erreur Spotify");
|
title: "Erreur Spotify");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum
|
||||||
catch (Exception error)
|
catch (Exception error)
|
||||||
{
|
{
|
||||||
services.Notify.PersistentNotification(
|
services.Notify.PersistentNotification(
|
||||||
message: error.Message,
|
message: error.Message + "\n" + e.ToString(),
|
||||||
title: "Erreur Spotify");
|
title: "Erreur Spotify");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayArtist
|
||||||
catch (Exception error)
|
catch (Exception error)
|
||||||
{
|
{
|
||||||
services.Notify.PersistentNotification(
|
services.Notify.PersistentNotification(
|
||||||
message: error.Message,
|
message: error.Message + "\n" + e.ToString(),
|
||||||
title: "Erreur Spotify");
|
title: "Erreur Spotify");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayPlaylist
|
||||||
catch (Exception error)
|
catch (Exception error)
|
||||||
{
|
{
|
||||||
services.Notify.PersistentNotification(
|
services.Notify.PersistentNotification(
|
||||||
message: error.Message,
|
message: error.Message + "\n" + e.ToString(),
|
||||||
title: "Erreur Spotify");
|
title: "Erreur Spotify");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlaySong
|
||||||
catch (Exception error)
|
catch (Exception error)
|
||||||
{
|
{
|
||||||
services.Notify.PersistentNotification(
|
services.Notify.PersistentNotification(
|
||||||
message: error.Message,
|
message: error.Message + "\n" + e.ToString(),
|
||||||
title: "Erreur Spotify");
|
title: "Erreur Spotify");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue