Better logging

This commit is contained in:
2020-03-20 00:02:27 +00:00
parent 5fccf97f4b
commit 576ac0570d
3 changed files with 12 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ package assetstore
import (
"errors"
"log"
"code.ur.gs/lupine/ordoor/internal/sets"
)
@@ -29,6 +30,7 @@ func (a *AssetStore) Set(name string) (*Set, error) {
if set, ok := a.sets[name]; ok {
return set, nil
}
log.Printf("Loading set %v", name)
filename, err := a.lookup(name, "set", "Sets")
if err != nil {