aboutsummaryrefslogtreecommitdiff
path: root/src/page_playlists.go
diff options
context:
space:
mode:
authorSimon Garrelou <simon.garrelou@gmail.com>2023-12-20 14:13:17 +0100
committerSimon Garrelou <simon.garrelou@gmail.com>2023-12-20 14:14:44 +0100
commita8a457df1cfa03ebde0ceb79476aabab5ae2d340 (patch)
treec8ca9deaaa4ccf3bb4eab6dd73ff273326ffda73 /src/page_playlists.go
parent6ab30541671561c647843e0a0a8d0a51208e4f42 (diff)
downloadtermsonic-a8a457df1cfa03ebde0ceb79476aabab5ae2d340.tar.gz
termsonic-a8a457df1cfa03ebde0ceb79476aabab5ae2d340.zip
Add file-based error logging
Diffstat (limited to 'src/page_playlists.go')
-rw-r--r--src/page_playlists.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/page_playlists.go b/src/page_playlists.go
index 25b35ba..1eaa624 100644
--- a/src/page_playlists.go
+++ b/src/page_playlists.go
@@ -89,6 +89,7 @@ func (a *app) loadPlaylist(id string) error {
89 89
90 if err := a.playQueue.Play(); err != nil { 90 if err := a.playQueue.Play(); err != nil {
91 a.alert("Error: %v", err) 91 a.alert("Error: %v", err)
92 LogErrorf("starting playback of playlist '%s': %v", a.currentPlaylist.Name, err)
92 } 93 }
93 }) 94 })
94 } 95 }