fix: check ignored errors
This commit is contained in:
@ -57,6 +57,8 @@ func Lyrics(l *logrus.Logger) http.HandlerFunc {
|
||||
s.Parse(doc)
|
||||
|
||||
views.LyricsPage(s).Render(context.Background(), w)
|
||||
setCache(id, s)
|
||||
if err = setCache(id, s); err != nil {
|
||||
l.Errorln(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user