add logs for discogs initial load error
This commit is contained in:
parent
88d9c4f2f8
commit
04aadf1d10
@ -133,7 +133,12 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
go discogsCache.FlushCache(context.Background())
|
go func() {
|
||||||
|
err := discogsCache.FlushCache(context.Background())
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("error loading discogs content: %v", err)
|
||||||
|
}
|
||||||
|
}()
|
||||||
r := &Router{
|
r := &Router{
|
||||||
static: f,
|
static: f,
|
||||||
lib: lib,
|
lib: lib,
|
||||||
|
Loading…
Reference in New Issue
Block a user