Skip to content

Commit

Permalink
Merge branch 'getJSON-warn'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Apr 9, 2019
2 parents 09cad06 + 4f8e225 commit ff90eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/data/data.go
Expand Up @@ -106,7 +106,7 @@ func (ns *Namespace) GetJSON(urlParts ...string) (interface{}, error) {
unmarshal := func(b []byte) (bool, error) {
err := json.Unmarshal(b, &v)
if err != nil {
return true, err
ns.deps.Log.WARN.Printf("Failed to get JSON resource %s: %s", url, err)
}
return false, nil
}
Expand Down

0 comments on commit ff90eab

Please sign in to comment.