diff --git a/tracker/tracker.go b/tracker/tracker.go index 5f70f18..17a346e 100644 --- a/tracker/tracker.go +++ b/tracker/tracker.go @@ -51,7 +51,10 @@ func New(cfg *config.Config) (*Tracker, error) { } if cfg.ClientWhitelistEnabled { - tkr.LoadApprovedClients(cfg.ClientWhitelist) + err = tkr.LoadApprovedClients(cfg.ClientWhitelist) + if err != nil { + return nil, err + } } return tkr, nil