Skip to content

Commit

Permalink
error message change
Browse files Browse the repository at this point in the history
  • Loading branch information
l3uddz committed Feb 10, 2020
1 parent b37b664 commit 28ede3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/tmdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (p *Tmdb) Init(mediaType MediaType, cfg map[string]string) error {

// validate api key set
if p.cfg == nil {
return errors.New("provider requires an api_key to be configured")
return errors.New("provider has no configuration data set")
} else if v, err := config.GetProviderSetting(cfg, "api_key"); err != nil {
return errors.New("provider requires an api_key to be configured")
} else {
Expand Down

0 comments on commit 28ede3f

Please sign in to comment.