go-toast

Send toast notifications in Windows
Log | Files | Refs | README | LICENSE

commit 9ca375ab4b2f8269b4990567941508883863ed09
parent df90b957fc5b334eaa97ee2c3e1f2dbd89f528d0
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Fri, 26 Jan 2024 12:57:59 +0800

wintoast: display app id in error message

Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>

Diffstat:
Mwintoast/bind_windows.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wintoast/bind_windows.go b/wintoast/bind_windows.go @@ -83,7 +83,7 @@ func pushCOM(xml string) error { notifier, err := manager.CreateToastNotifierWithId(appData.AppID) if err != nil { - return fmt.Errorf("manager.CreateToastNotifier(): %w", err) + return fmt.Errorf("manager.CreateToastNotifier(%q): %w", appData.AppID, err) } toast, err := notifications.CreateToastNotification(doc)