tpl/data: Revise error handling in getJSON and getCSV
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 10 Sep 2018 19:02:18 +0000 (21:02 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 11 Sep 2018 14:46:25 +0000 (16:46 +0200)
commit43d446522a7c09af4bf6879f93341d8ff62654d1
tree1197057d7a0e82479464885e666ee66231059c7a
parent4f72e79120a4f964330d10c8ebe9aceb2b5761a7
tpl/data: Revise error handling in getJSON and getCSV

The most important part being: Log ERROR, but do not stop the build on remote errors.

Fixes #5076
tpl/data/data.go
tpl/data/data_test.go
tpl/data/resources_test.go