diff options
author | Simon Garrelou <simon.garrelou@gmail.com> | 2023-12-20 14:13:17 +0100 |
---|---|---|
committer | Simon Garrelou <simon.garrelou@gmail.com> | 2023-12-20 14:14:44 +0100 |
commit | a8a457df1cfa03ebde0ceb79476aabab5ae2d340 (patch) | |
tree | c8ca9deaaa4ccf3bb4eab6dd73ff273326ffda73 /src/page_playlists.go | |
parent | 6ab30541671561c647843e0a0a8d0a51208e4f42 (diff) | |
download | termsonic-a8a457df1cfa03ebde0ceb79476aabab5ae2d340.tar.gz termsonic-a8a457df1cfa03ebde0ceb79476aabab5ae2d340.zip |
Add file-based error logging
Diffstat (limited to 'src/page_playlists.go')
-rw-r--r-- | src/page_playlists.go | 1 |
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 | } |