Change log.Println statement to log.Printf

This changes a statement from Println, to Printf, as it seems the
original intention was to format the error.
This commit is contained in:
Simon Symeonidis
2025-05-17 20:04:27 -07:00
committed by Drew Weymouth
parent a23e7d382d
commit 989bc88646
+1 -1
View File
@@ -210,7 +210,7 @@ func (t *TracksPage) playRandomSongs() {
go func() {
err := t.contr.App.PlaybackManager.PlayRandomSongs("")
if err != nil {
log.Println("error playing random tracks: %v", err)
log.Printf("error playing random tracks: %v", err)
fyne.Do(func() {
t.contr.ToastProvider.ShowErrorToast(lang.L("Unable to play random tracks"))
})