Permalink
Browse files

Merge branch 'getJSON-warn'

  • Loading branch information...
kaushalmodi committed Sep 12, 2018
2 parents e7f280a + ab351f9 commit 5f6653f3332354428991d91eba39bab8ce156cf1
Showing with 1 addition and 1 deletion.
  1. +1 −1 tpl/data/data.go
View
@@ -111,7 +111,7 @@ func (ns *Namespace) GetJSON(urlParts ...string) (v interface{}, err error) {
var c []byte
c, err = ns.getResource(req)
if err != nil {
ns.deps.Log.ERROR.Printf("Failed to get JSON resource %s: %s", url, err)
ns.deps.Log.WARN.Printf("Failed to get JSON resource %s: %s", url, err)
return nil, nil
}

0 comments on commit 5f6653f

Please sign in to comment.