fix: check ignored errors

This commit is contained in:
rramiachraf
2024-03-04 18:46:23 +01:00
parent a5bc03959e
commit dccfd17bcc
6 changed files with 32 additions and 15 deletions

View File

@ -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)
}
}
}