Permalink
Browse files

Merge branch 'getJSON-warn'

  • Loading branch information...
kaushalmodi committed Oct 2, 2018
2 parents b907bd7 + f50f5ee commit d5d50e2fc0abaa6882daa16bb1b73d80d4768633
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 var c []byte
c, err = ns.getResource(req) c, err = ns.getResource(req)
if err != nil { 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 return nil, nil
} }

0 comments on commit d5d50e2

Please sign in to comment.