aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notify/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/notify/service.go')
-rw-r--r--internal/notify/service.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/notify/service.go b/internal/notify/service.go
index 7bfad6e..a8f0728 100644
--- a/internal/notify/service.go
+++ b/internal/notify/service.go
@@ -118,6 +118,8 @@ func (s *Service) Notify(appName string, replacesID uint32, appIcon, summary, bo
if raw, ok := ImageDataFromHints(hints); ok {
if data, err := raw.PNG(); err == nil {
pendingImage = data
+ } else {
+ log.Printf("notifyd: encode image: %v", err)
}
} else if path, ok := ImagePathFromHints(hints); ok {
n.Image = ResolveIcon(path)