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:08 +0100 |
commit | 119f7140d269aa5f9c01faa9d83d2e73e6f1efb0 (patch) | |
tree | e28ad292f20afceb595452e939461305cc49c17f /src/page_artists.go | |
parent | 15d3df5b10abbc11c65eff36682243e8ae8c0eb1 (diff) | |
download | termsonic-119f7140d269aa5f9c01faa9d83d2e73e6f1efb0.tar.gz termsonic-119f7140d269aa5f9c01faa9d83d2e73e6f1efb0.zip |
Add file-based error logging
Diffstat (limited to 'src/page_artists.go')
-rw-r--r-- | src/page_artists.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/page_artists.go b/src/page_artists.go index f67697c..747165b 100644 --- a/src/page_artists.go +++ b/src/page_artists.go | |||
@@ -127,6 +127,7 @@ func (a *app) loadAlbumInPanel(id string) error { | |||
127 | err := a.playQueue.Play() | 127 | err := a.playQueue.Play() |
128 | if err != nil { | 128 | if err != nil { |
129 | a.alert("Error: %v", err) | 129 | a.alert("Error: %v", err) |
130 | LogErrorf("starting playback of album '%s': %v", album.Name, err) | ||
130 | } | 131 | } |
131 | }) | 132 | }) |
132 | } | 133 | } |