For some log messages changed capital letter to lowercase.
This commit is contained in:
parent
60fae56a28
commit
76b3e2e8ad
@ -76,7 +76,7 @@ func main() {
|
||||
defer func() {
|
||||
err := os.WriteFile(*mostListenedSongPath, radio.StoreMostListenedSong(), fs.ModePerm)
|
||||
if err != nil {
|
||||
log.Println("Failed to store most listened song:", err)
|
||||
log.Println("failed to store a most listened song:", err)
|
||||
}
|
||||
|
||||
if err := srv.Stop(); err != nil {
|
||||
|
@ -190,7 +190,7 @@ func (pw *PlaylistLogWatcher) Watch(playlistPath string, n int) (err error) {
|
||||
if err == nil && len(songs) > 0 {
|
||||
lastPlayedCache = append(lastPlayedCache, songs...)
|
||||
} else if err != nil {
|
||||
log.Fatalln("Failed to retrieve last songs:", err)
|
||||
log.Fatalln("failed to retrieve last songs:", err)
|
||||
}
|
||||
}
|
||||
|
||||
@ -215,7 +215,7 @@ func (pw *PlaylistLogWatcher) Watch(playlistPath string, n int) (err error) {
|
||||
currentlyPlaying = songs[0]
|
||||
}
|
||||
} else if err != nil {
|
||||
log.Println("Failed to retrieve last songs:", err)
|
||||
log.Println("failed to retrieve last songs:", err)
|
||||
}
|
||||
lastPlayedCacheMutex.Unlock()
|
||||
} else if mask&syscall.IN_IGNORED > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user