Updated GetCSV error message (#4636)
authorLucas Liberacki <coolcodingguy@gmail.com>
Tue, 17 Apr 2018 05:20:14 +0000 (01:20 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 17 Apr 2018 05:20:14 +0000 (07:20 +0200)
tpl/data/data.go

index 0c75fdbb7eebcb087deb21cb84c67165c274adac..0dd2b26255a277e5e3ac44b293b6752fb3021e43 100644 (file)
@@ -59,7 +59,7 @@ func (ns *Namespace) GetCSV(sep string, urlParts ...string) (d [][]string, err e
                var req *http.Request
                req, err = http.NewRequest("GET", url, nil)
                if err != nil {
-                       jww.ERROR.Printf("Failed to create request for getJSON: %s", err)
+                       jww.ERROR.Printf("Failed to create request for getCSV: %s", err)
                        return nil, err
                }