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:
committed by
Drew Weymouth
parent
a23e7d382d
commit
989bc88646
@@ -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"))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user