diff options
Diffstat (limited to 'internal/authz/model.go')
| -rw-r--r-- | internal/authz/model.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/authz/model.go b/internal/authz/model.go index 1ed61cf..32730c2 100644 --- a/internal/authz/model.go +++ b/internal/authz/model.go @@ -5,6 +5,7 @@ import ( "encoding/csv" "encoding/hex" "fmt" + "log/slog" "math/big" "os" @@ -24,7 +25,7 @@ func (tm TokenMap) LoadTokensFromFile(path string) error { // TODO this should be configurable contents, err := os.Open(path) if err != nil { - fmt.Println("File reading error", err) + slog.Error("File reading error", err) return err } defer contents.Close() |