summaryrefslogtreecommitdiff
path: root/client/tables.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/tables.js')
-rw-r--r--client/tables.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/tables.js b/client/tables.js
index 70ab5971..3fadb797 100644
--- a/client/tables.js
+++ b/client/tables.js
@@ -65,11 +65,13 @@ export default function append(el, payload) {
.then(r => r.text())
.then(text => {
try {
+ console.log(text)
const data = csv.toJSON(text, { headers: { included: true } })
// console.log(data)
table.setData(data)
el.classList.add('loaded')
} catch (e) {
+
console.error("error making json:", payload.url)
console.error(e)
// console.log(text)