mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
Updated GetCSV error message (#4636)
This commit is contained in:
1 parent
89d2cf49ac
commit
5cc944ffd7
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ func (ns *Namespace) GetCSV(sep string, urlParts ...string) (d [][]string, err e
|
|||||||
var req *http.Request
|
var req *http.Request
|
||||||
req, err = http.NewRequest("GET", url, nil)
|
req, err = http.NewRequest("GET", url, nil)
|
||||||
if err != 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
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user